mirror of
https://github.com/dart-lang/sdk
synced 2024-09-20 06:41:35 +00:00
Change regression test now that String does have operator*.
It still doesn't work for string arguments, but that's a type/argument error. Review URL: https://codereview.chromium.org//173543002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32845 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
69145994de
commit
1439a62970
|
@ -12,5 +12,6 @@ class A {
|
|||
}
|
||||
}
|
||||
|
||||
main() => Expect.throws(() => new A().x(1, 2),
|
||||
(e) => e is NoSuchMethodError);
|
||||
main() {
|
||||
Expect.throws(() => new A().x(1, 2));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue