-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Frog: internal error after undiagnosed syntax error #566
Comments
This comment was originally written by jimhug@google.com Set owner to jimhug@google.com. |
This comment was originally written by jimhug@google.com http://codereview.chromium.org/8678011 Added Fixed label. |
This was referenced Oct 29, 2020
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiling this program:
main() {
Expect.equ als(10, 10);
}
Gives:
$ frogsh --enable_type_checks bug1n.dart
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Object #<MethodGenerator> has no method 'visitDeclaredIdentifier'
at DeclaredIdentifier.visit (/usr/local/google/home/sra/dart-all/dart/frog/frogsh:20230:18)
at MethodGenerator.visitCallExpression (/usr/local/google/home/sra/dart-all/dart/frog/frogsh:13051:26)
at CallExpression.visit (/usr/local/google/home/sra/dart-all/dart/frog/frogsh:19750:18)
at MethodGenerator.visitValue (/usr/local/google/home/sra/dart-all/dart/frog/frogsh:12566:20)
at MethodGenerator.visitVoid (/usr/local/google/home/sra/dart-all/dart/frog/frogsh:12579:15)
at MethodGenerator.visitExpressionStatement (/usr/local/google/home/sra/dart-all/dart/frog/frogsh:12968:20)
at lang_ExpressionStatement.visit (/usr/local/google/home/sra/dart-all/dart/frog/frogsh:19676:18)
at lang_ExpressionStatement.visit$1 (/usr/local/google/home/sra/dart-all/dart/frog/frogsh:19679:15)
at MethodGenerator.visitStatementsInBlock (/usr/local/google/home/sra/dart-all/dart/frog/frogsh:12540:12)
at MethodGenerator.writeBody (/usr/local/google/home/sra/dart-all/dart/frog/frogsh:12478:8)
The text was updated successfully, but these errors were encountered: