-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[analyzer] Function is a built-in identifier, but no error is emitted when it is used to name a type #45704
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I started this in https://dart-review.googlesource.com/c/sdk/+/200080, but it seems that there are more changes to CFE than I can do on my own. |
@scheglov - would it be good to have input / assistance from the CFE team for this? cc @johnniwinther |
@jensjoha Could you take a look at the CL https://dart-review.googlesource.com/c/sdk/+/200080 from @scheglov ? |
This CL makes `Function` a builtIn keyword instead of a `pseudo` keyword. See also (and fixes): #45703 #45704 #45705 #49197 This undoes https://dart-review.googlesource.com/c/sdk/+/195761 This is ~a merge of https://dart-review.googlesource.com/c/sdk/+/195906 and https://dart-review.googlesource.com/c/sdk/+/200080 Change-Id: I8bfee6976d43819fa355de99b3b2429eb67a7cdd Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/249484 Reviewed-by: Johnni Winther <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]> Commit-Queue: Jens Johansen <[email protected]> Reviewed-by: Konstantin Shcheglov <[email protected]>
This should be fixed with 25dcfca. |
This is the analyzer specific issue for #45703, which has the details.
The text was updated successfully, but these errors were encountered: