Skip to content
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

Closed
rakudrama opened this issue Nov 23, 2011 · 2 comments
Closed

Frog: internal error after undiagnosed syntax error #566

rakudrama opened this issue Nov 23, 2011 · 2 comments

Comments

@rakudrama
Copy link
Member

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)

@DartBot
Copy link

DartBot commented Nov 23, 2011

This comment was originally written by jimhug@google.com


Set owner to jimhug@google.com.
Added Started label.

@DartBot
Copy link

DartBot commented Nov 23, 2011

This comment was originally written by jimhug@google.com


http://codereview.chromium.org/8678011


Added Fixed label.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants