Skip to content

Add tests for generalized void (which appears to already work fine). #668

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

Merged
merged 1 commit into from
Feb 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages:
name: analyzer
url: "https://pub.dartlang.org"
source: hosted
version: "0.31.0"
version: "0.31.1"
args:
dependency: "direct main"
description:
Expand All @@ -21,7 +21,7 @@ packages:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.3"
version: "2.0.4"
barback:
dependency: transitive
description:
Expand Down Expand Up @@ -91,7 +91,7 @@ packages:
name: front_end
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.0-alpha.8"
version: "0.1.0-alpha.9"
glob:
dependency: transitive
description:
Expand Down Expand Up @@ -161,7 +161,7 @@ packages:
name: kernel
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.0-alpha.5"
version: "0.3.0-alpha.9"
logging:
dependency: transitive
description:
Expand Down Expand Up @@ -301,7 +301,7 @@ packages:
name: stack_trace
url: "https://pub.dartlang.org"
source: hosted
version: "1.9.1"
version: "1.9.2"
stream_channel:
dependency: transitive
description:
Expand Down Expand Up @@ -329,7 +329,7 @@ packages:
name: test
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.30+1"
version: "0.12.30+3"
test_descriptor:
dependency: "direct dev"
description:
Expand Down Expand Up @@ -371,7 +371,7 @@ packages:
name: web_socket_channel
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.6"
version: "1.0.7"
yaml:
dependency: "direct dev"
description:
Expand All @@ -380,4 +380,4 @@ packages:
source: hosted
version: "2.1.13"
sdks:
dart: "2.0.0-dev.20.0"
dart: ">=2.0.0-dev.23.0 <=2.0.0-edge.d5105da9cabff92c398d90d7c80fc23b5e38e012"
10 changes: 9 additions & 1 deletion test/whitespace/type_arguments.stmt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,12 @@ new Foo<T>();
>>> space between names
new Foo< A,B, C,D>();
<<<
new Foo<A, B, C, D>();
new Foo<A, B, C, D>();
>>> void as a class type argument
new Foo< void,void Function()>();
<<<
new Foo<void, void Function()>();
>>> void as a generic method type argument
list.map< void,void Function()>();
<<<
list.map<void, void Function()>();