forked from chapel-lang/chapel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dyno: Fix method scopes when using methods or fields in signatures (c…
…hapel-lang#23665) This PR fixes various bugs when trying to use a field or method in the signature of a method on the same type. The ``Resolver::createForInitialSignature`` method is updated to resolve a ``this`` formal in the case of methods, and used the resolved type as the Resolver's ``inCompositeType`` value. Add ``Resolver::setCompositeType`` as a means of setting the Resolver's composite type once the ``this`` formal has been instantiated. This PR also implements the logical-not operator, ``!``, for param bools. [reviewed-by @mppf]
- Loading branch information
Showing
4 changed files
with
149 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters