Skip to content

[cfe] Function is a built-in identifier, but no error is emitted when it is used to name a type #45705

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

Closed
eernstg opened this issue Apr 14, 2021 · 1 comment
Labels
front-end-missing-error legacy-area-front-end Legacy: Use area-dart-model instead.

Comments

@eernstg
Copy link
Member

eernstg commented Apr 14, 2021

This is the CFE specific issue for #45703, which has the details.

@lfkdsk
Copy link
Contributor

lfkdsk commented Apr 17, 2021

Hi @eernstg , I try to fix this with #45736.

copybara-service bot pushed a commit that referenced this issue Jun 28, 2022
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
front-end-missing-error legacy-area-front-end Legacy: Use area-dart-model instead.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants