Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Unified Diff: frog/tests/leg/src/ResolverTest.dart

Issue 10105031: Check number of type arguments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: frog/tests/leg/src/ResolverTest.dart
diff --git a/frog/tests/leg/src/ResolverTest.dart b/frog/tests/leg/src/ResolverTest.dart
index 231efd0c12a52a4bd7c26125d7f476f11ee72408..1ad9249c0609706f65d89ffe511c3715f3035380 100644
--- a/frog/tests/leg/src/ResolverTest.dart
+++ b/frog/tests/leg/src/ResolverTest.dart
@@ -96,7 +96,6 @@ testTypeVariables() {
[compiler.intClass, compiler.stringClass]);
testTypeResolving(visitor, 'Foo<Foo, Foo> x;', 'Foo',
[foo, foo]);
-
ahe 2012/04/18 09:09:54 Removing these lines does not help me :-)
compiler = new MockCompiler();
compiler.parseScript('class Foo<T, U> {}');
compiler.resolveStatement('Foo<notype, int> x;');
@@ -104,7 +103,6 @@ testTypeVariables() {
Expect.equals(MessageKind.CANNOT_RESOLVE_TYPE,
compiler.warnings[0].message.kind);
Expect.equals(0, compiler.errors.length);
-
compiler = new MockCompiler();
compiler.parseScript('class Foo<T, U> {}');
compiler.resolveStatement('var x = new Foo<notype, int>();');
« no previous file with comments | « no previous file | frog/tests/leg/src/mock_compiler.dart » ('j') | lib/compiler/implementation/elements/elements.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698