Files
sdk/pkg/front_end/testcases/expression/invalid.expression.yaml.expect
Johnni Winther 5dc4d65114 [kernel] Add InvalidExpression.expression
... and use this to wrap expressions instead of Let

TEST=existing

Change-Id: I6d1f5cfa4693222840d6cb406790c39c6ae63e5d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208580
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-08-04 08:40:18 +00:00

15 lines
721 B
Plaintext

Errors: {
org-dartlang-debug:synthetic_debug_expression:1:5: Error: Can't find ')' to match '('.
*foo(3,
^
org-dartlang-debug:synthetic_debug_expression:1:1: Error: Expected an identifier, but got '*'.
Try inserting an identifier before '*'.
*foo(3,
^
org-dartlang-debug:synthetic_debug_expression:1:2: Error: Method not found: 'foo'.
*foo(3,
^^^
}
method /* from org-dartlang-debug:synthetic_debug_expression */ debugExpr() → dynamic
return invalid-expression "org-dartlang-debug:synthetic_debug_expression:1:1: Error: This couldn't be parsed.\n*foo(3,\n^"{<invalid>}.*(invalid-expression "org-dartlang-debug:synthetic_debug_expression:1:2: Error: Method not found: 'foo'.\n*foo(3,\n ^^^");