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

Issue 3008823002: Add language_2 tests demonstrating bug #30568 (Closed)

Created:
3 years, 3 months ago by Paul Berry
Modified:
3 years, 3 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 2

Messages

Total messages: 7 (2 generated)
Paul Berry
3 years, 3 months ago (2017-08-29 20:48:59 UTC) #2
Bob Nystrom
Oh, dang, that's a nasty edge case. Thanks for the nicely documented tests! LGTM++
3 years, 3 months ago (2017-08-29 21:55:08 UTC) #3
Paul Berry
Committed patchset #1 (id:1) manually as b8e54ea4181c632a11a5c9c97fcd11d1beccb9a5 (presubmit successful).
3 years, 3 months ago (2017-08-29 22:09:28 UTC) #5
Lasse Reichstein Nielsen
Also consider the case: abstract class I { void foo([x]); } class B implements I ...
3 years, 3 months ago (2017-08-30 06:00:42 UTC) #6
Paul Berry
3 years, 3 months ago (2017-08-30 20:08:25 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/3008823002/diff/1/tests/language_2/additional...
File tests/language_2/additional_interface_adds_optional_args_test.dart (right):

https://codereview.chromium.org/3008823002/diff/1/tests/language_2/additional...
tests/language_2/additional_interface_adds_optional_args_test.dart:26:
super.foo();
On 2017/08/30 06:00:42, Lasse Reichstein Nielsen wrote:
> Have tests that do `super.foo(x)` as well, and see that the are disallowed.

Good call.  There are bugs related to this too.

Additional tests here: https://codereview.chromium.org/3005893002/

Powered by Google App Engine
This is Rietveld 408576698