You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
andrewrk opened this issue
Jul 24, 2018
· 2 comments
Labels
acceptedThis proposal is planned.breakingImplementing this issue could cause existing code to no longer compile or have different behavior.proposalThis issue suggests modifications. If it also has the "accepted" label then it is planned.
Provide builtin function for getting the current type: @ThisType() - searches up in scope until it finds a struct, union, enum, or error, and returns that type.
Remove the scope parameter from the builtin functions such as @setFloatMode. We were always passing this anyway.
The text was updated successfully, but these errors were encountered:
andrewrk
added
the
proposal
This issue suggests modifications. If it also has the "accepted" label then it is planned.
label
Jul 24, 2018
acceptedThis proposal is planned.breakingImplementing this issue could cause existing code to no longer compile or have different behavior.proposalThis issue suggests modifications. If it also has the "accepted" label then it is planned.
This feature was used for these things:
Here's my proposal to replace these uses:
@ThisType()
- searches up in scope until it finds a struct, union, enum, or error, and returns that type.@setFloatMode
. We were always passingthis
anyway.The text was updated successfully, but these errors were encountered: