| library; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:36:10: Error: 'foo' isn't a type. |
| // print(<foo); |
| // ^^^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:36:10: Error: Expected '>' after this. |
| // print(<foo); |
| // ^^^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:36:13: Error: Expected '[' before this. |
| // print(<foo); |
| // ^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:37:9: Error: Expected an identifier, but got '>'. |
| // print(>foo); |
| // ^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:38:9: Error: Expected an identifier, but got '<='. |
| // print(<=foo); |
| // ^^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:39:9: Error: Expected an identifier, but got '>='. |
| // print(>=foo); |
| // ^^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:40:9: Error: Expected an identifier, but got '=='. |
| // print(==foo); |
| // ^^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:41:9: Error: '+' is not a prefix operator. |
| // Try removing '+'. |
| // print(+foo); |
| // ^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:42:9: Error: Expected an identifier, but got '/'. |
| // print(/foo); |
| // ^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:43:9: Error: Expected an identifier, but got '~/'. |
| // print(~/foo); |
| // ^^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:44:9: Error: Expected an identifier, but got '*'. |
| // print(*foo); |
| // ^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:45:9: Error: Expected an identifier, but got '%'. |
| // print(%foo); |
| // ^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:46:9: Error: Expected an identifier, but got '|'. |
| // print(|foo); |
| // ^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:47:9: Error: Expected an identifier, but got '^'. |
| // print(^foo); |
| // ^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:48:9: Error: Expected an identifier, but got '&'. |
| // print(&foo); |
| // ^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:49:9: Error: Expected an identifier, but got '<<'. |
| // print(<<foo); |
| // ^^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:50:9: Error: Expected an identifier, but got '>>'. |
| // print(>>foo); |
| // ^^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:54:13: Error: '~' isn't a binary operator. |
| // print(foo ~ 2); |
| // ^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:12:13: Error: The method '<' isn't defined for the class 'Foo'. |
| // - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| // Try correcting the name to the name of an existing method, or defining a method named '<'. |
| // print(foo < 2); |
| // ^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:13:13: Error: The method '>' isn't defined for the class 'Foo'. |
| // - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| // Try correcting the name to the name of an existing method, or defining a method named '>'. |
| // print(foo > 2); |
| // ^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:14:13: Error: The method '<=' isn't defined for the class 'Foo'. |
| // - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| // Try correcting the name to the name of an existing method, or defining a method named '<='. |
| // print(foo <= 2); |
| // ^^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:15:13: Error: The method '>=' isn't defined for the class 'Foo'. |
| // - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| // Try correcting the name to the name of an existing method, or defining a method named '>='. |
| // print(foo >= 2); |
| // ^^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:17:13: Error: The method '-' isn't defined for the class 'Foo'. |
| // - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| // Try correcting the name to the name of an existing method, or defining a method named '-'. |
| // print(foo - 2); |
| // ^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:18:13: Error: The method '+' isn't defined for the class 'Foo'. |
| // - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| // Try correcting the name to the name of an existing method, or defining a method named '+'. |
| // print(foo + 2); |
| // ^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:19:13: Error: The method '/' isn't defined for the class 'Foo'. |
| // - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| // Try correcting the name to the name of an existing method, or defining a method named '/'. |
| // print(foo / 2); |
| // ^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:20:13: Error: The method '~/' isn't defined for the class 'Foo'. |
| // - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| // Try correcting the name to the name of an existing method, or defining a method named '~/'. |
| // print(foo ~/ 2); |
| // ^^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:21:13: Error: The method '*' isn't defined for the class 'Foo'. |
| // - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| // Try correcting the name to the name of an existing method, or defining a method named '*'. |
| // print(foo * 2); |
| // ^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:22:13: Error: The method '%' isn't defined for the class 'Foo'. |
| // - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| // Try correcting the name to the name of an existing method, or defining a method named '%'. |
| // print(foo % 2); |
| // ^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:23:13: Error: The method '|' isn't defined for the class 'Foo'. |
| // - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| // Try correcting the name to the name of an existing method, or defining a method named '|'. |
| // print(foo | 2); |
| // ^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:24:13: Error: The method '^' isn't defined for the class 'Foo'. |
| // - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| // Try correcting the name to the name of an existing method, or defining a method named '^'. |
| // print(foo ^ 2); |
| // ^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:25:13: Error: The method '&' isn't defined for the class 'Foo'. |
| // - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| // Try correcting the name to the name of an existing method, or defining a method named '&'. |
| // print(foo & 2); |
| // ^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:26:13: Error: The method '<<' isn't defined for the class 'Foo'. |
| // - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| // Try correcting the name to the name of an existing method, or defining a method named '<<'. |
| // print(foo << 2); |
| // ^^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:27:13: Error: The method '>>' isn't defined for the class 'Foo'. |
| // - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| // Try correcting the name to the name of an existing method, or defining a method named '>>'. |
| // print(foo >> 2); |
| // ^^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:29:12: Error: The method '[]=' isn't defined for the class 'Foo'. |
| // - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| // Try correcting the name to the name of an existing method, or defining a method named '[]='. |
| // print(foo[2] = 2); |
| // ^^^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:30:12: Error: The method '[]' isn't defined for the class 'Foo'. |
| // - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| // Try correcting the name to the name of an existing method, or defining a method named '[]'. |
| // print(foo[2]); |
| // ^^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:31:9: Error: The method '~' isn't defined for the class 'Foo'. |
| // - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| // Try correcting the name to the name of an existing method, or defining a method named '~'. |
| // print(~foo); |
| // ^ |
| // |
| // pkg/front_end/testcases/operator_method_not_found.dart:32:9: Error: The method 'unary-' isn't defined for the class 'Foo'. |
| // - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| // Try correcting the name to the name of an existing method, or defining a method named 'unary-'. |
| // print(-foo); |
| // ^ |
| // |
| import self as self; |
| import "dart:core" as core; |
| |
| class Foo extends core::Object { |
| synthetic constructor •() → self::Foo |
| : super core::Object::•() |
| ; |
| } |
| static method main() → dynamic { |
| self::Foo foo = new self::Foo::•(); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:12:13: Error: The method '<' isn't defined for the class 'Foo'. |
| - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| Try correcting the name to the name of an existing method, or defining a method named '<'. |
| print(foo < 2); |
| ^"); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:13:13: Error: The method '>' isn't defined for the class 'Foo'. |
| - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| Try correcting the name to the name of an existing method, or defining a method named '>'. |
| print(foo > 2); |
| ^"); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:14:13: Error: The method '<=' isn't defined for the class 'Foo'. |
| - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| Try correcting the name to the name of an existing method, or defining a method named '<='. |
| print(foo <= 2); |
| ^^"); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:15:13: Error: The method '>=' isn't defined for the class 'Foo'. |
| - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| Try correcting the name to the name of an existing method, or defining a method named '>='. |
| print(foo >= 2); |
| ^^"); |
| core::print(foo.{core::Object::==}(2)); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:17:13: Error: The method '-' isn't defined for the class 'Foo'. |
| - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| Try correcting the name to the name of an existing method, or defining a method named '-'. |
| print(foo - 2); |
| ^"); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:18:13: Error: The method '+' isn't defined for the class 'Foo'. |
| - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| Try correcting the name to the name of an existing method, or defining a method named '+'. |
| print(foo + 2); |
| ^"); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:19:13: Error: The method '/' isn't defined for the class 'Foo'. |
| - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| Try correcting the name to the name of an existing method, or defining a method named '/'. |
| print(foo / 2); |
| ^"); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:20:13: Error: The method '~/' isn't defined for the class 'Foo'. |
| - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| Try correcting the name to the name of an existing method, or defining a method named '~/'. |
| print(foo ~/ 2); |
| ^^"); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:21:13: Error: The method '*' isn't defined for the class 'Foo'. |
| - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| Try correcting the name to the name of an existing method, or defining a method named '*'. |
| print(foo * 2); |
| ^"); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:22:13: Error: The method '%' isn't defined for the class 'Foo'. |
| - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| Try correcting the name to the name of an existing method, or defining a method named '%'. |
| print(foo % 2); |
| ^"); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:23:13: Error: The method '|' isn't defined for the class 'Foo'. |
| - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| Try correcting the name to the name of an existing method, or defining a method named '|'. |
| print(foo | 2); |
| ^"); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:24:13: Error: The method '^' isn't defined for the class 'Foo'. |
| - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| Try correcting the name to the name of an existing method, or defining a method named '^'. |
| print(foo ^ 2); |
| ^"); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:25:13: Error: The method '&' isn't defined for the class 'Foo'. |
| - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| Try correcting the name to the name of an existing method, or defining a method named '&'. |
| print(foo & 2); |
| ^"); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:26:13: Error: The method '<<' isn't defined for the class 'Foo'. |
| - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| Try correcting the name to the name of an existing method, or defining a method named '<<'. |
| print(foo << 2); |
| ^^"); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:27:13: Error: The method '>>' isn't defined for the class 'Foo'. |
| - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| Try correcting the name to the name of an existing method, or defining a method named '>>'. |
| print(foo >> 2); |
| ^^"); |
| core::print(let final self::Foo #t1 = foo in let final core::int #t2 = 2 in let final core::int #t3 = 2 in let final dynamic #t4 = invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:29:12: Error: The method '[]=' isn't defined for the class 'Foo'. |
| - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| Try correcting the name to the name of an existing method, or defining a method named '[]='. |
| print(foo[2] = 2); |
| ^^^" in #t3); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:30:12: Error: The method '[]' isn't defined for the class 'Foo'. |
| - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| Try correcting the name to the name of an existing method, or defining a method named '[]'. |
| print(foo[2]); |
| ^^"); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:31:9: Error: The method '~' isn't defined for the class 'Foo'. |
| - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| Try correcting the name to the name of an existing method, or defining a method named '~'. |
| print(~foo); |
| ^"); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:32:9: Error: The method 'unary-' isn't defined for the class 'Foo'. |
| - 'Foo' is from 'pkg/front_end/testcases/operator_method_not_found.dart'. |
| Try correcting the name to the name of an existing method, or defining a method named 'unary-'. |
| print(-foo); |
| ^"); |
| core::print(<invalid-type>[]); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:37:9: Error: This couldn't be parsed. |
| print(>foo); |
| ^".>(foo)); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:38:9: Error: This couldn't be parsed. |
| print(<=foo); |
| ^".<=(foo)); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:39:9: Error: This couldn't be parsed. |
| print(>=foo); |
| ^".>=(foo)); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:40:9: Error: This couldn't be parsed. |
| print(==foo); |
| ^".{core::Object::==}(foo)); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:41:9: Error: This couldn't be parsed. |
| print(+foo); |
| ^".+(foo)); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:42:9: Error: This couldn't be parsed. |
| print(/foo); |
| ^"./(foo)); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:43:9: Error: This couldn't be parsed. |
| print(~/foo); |
| ^".~/(foo)); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:44:9: Error: This couldn't be parsed. |
| print(*foo); |
| ^".*(foo)); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:45:9: Error: This couldn't be parsed. |
| print(%foo); |
| ^".%(foo)); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:46:9: Error: This couldn't be parsed. |
| print(|foo); |
| ^".|(foo)); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:47:9: Error: This couldn't be parsed. |
| print(^foo); |
| ^".^(foo)); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:48:9: Error: This couldn't be parsed. |
| print(&foo); |
| ^".&(foo)); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:49:9: Error: This couldn't be parsed. |
| print(<<foo); |
| ^".<<(foo)); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:50:9: Error: This couldn't be parsed. |
| print(>>foo); |
| ^".>>(foo)); |
| core::print(invalid-expression "pkg/front_end/testcases/operator_method_not_found.dart:54:13: Error: '~' isn't a binary operator. |
| print(foo ~ 2); |
| ^"); |
| } |