Skip to content

Front-end or kernel incorrectly replaces typedefs with underlying function types #33326

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

Open
rmacnak-google opened this issue Jun 4, 2018 · 1 comment
Labels
front-end-kernel legacy-area-front-end Legacy: Use area-dart-model instead.

Comments

@rmacnak-google
Copy link
Contributor

import 'dart:mirrors';
typedef void Foo();
main() {
  print(Foo);
  print(reflectType(Foo));
}

VM frontend:

Foo
TypedefMirror on 'Foo'

Common frontend:

() => void
FunctionTypeMirror on '() -> void'
@rmacnak-google rmacnak-google added area-kernel legacy-area-front-end Legacy: Use area-dart-model instead. labels Jun 4, 2018
@zoechi
Copy link
Contributor

zoechi commented Jun 5, 2018

Seems to be related to #31359 (#32782)

dart-bot pushed a commit that referenced this issue Jun 5, 2018
Bug: #32345
Bug: #33326
Bug: #33345
Change-Id: I89fb8f0332ef6f9f40de59c219af2a7c23e5943f
Reviewed-on: https://dart-review.googlesource.com/58400
Commit-Queue: Ryan Macnak <[email protected]>
Reviewed-by: Vyacheslav Egorov <[email protected]>
Reviewed-by: Alexander Markov <[email protected]>
@kmillikin kmillikin added legacy-area-front-end Legacy: Use area-dart-model instead. front-end-kernel and removed legacy-area-front-end Legacy: Use area-dart-model instead. area-kernel labels Sep 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
front-end-kernel legacy-area-front-end Legacy: Use area-dart-model instead.
Projects
None yet
Development

No branches or pull requests

3 participants