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

Issue 1635763003: Restore old supermixin functionality to shared language tests.

Created:
4 years, 11 months ago by Paul Berry
Modified:
4 years, 11 months ago
Reviewers:
regis, Brian Wilkerson
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Restore old supermixin functionality to shared language tests. In 451eaab71824d51d50a618f374a74bff578801f0 the "--supermixin" flag was removed from the VM and from the shared language tests. This caused those language tests to fail on analyzer (because analyzer still requires the flag). Also some tests that validated the non-supermixin behavior were deleted. It looks like we are going to keep requiring the flag in analyzer until the feature is implemented in dart2js (see https://github.com/dart-lang/sdk/issues/24478#issuecomment-170054303). So in order to ensure that the analyzer implementation continues to be tested, we still need the flags in the tests. We also need the old tests that validate the non-supermixin behavior, since the analyzer continues to implement that behavior when the "--supermixin" flag is absent. This CL does not introduce any new VM failures, because (a) the VM ignores the "--supermixin" flag, so the tests in which the flag is being reintroduced will still behave the same way on the VM, and (b) the tests that validate non-supermixin behavior are disabled on the VM. R=brianwilkerson@google.com, regis@google.com Committed: https://github.com/dart-lang/sdk/commit/afc2c880a6080d83afa8af3247844791cee5ab29

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -11 lines) Patch
M tests/language/language.status View 1 chunk +2 lines, -1 line 2 comments Download
M tests/language/language_analyzer2.status View 1 chunk +0 lines, -5 lines 0 comments Download
A + tests/language/mixin_illegal_super_use_test.dart View 3 chunks +11 lines, -5 lines 0 comments Download
A tests/language/mixin_illegal_superclass_test.dart View 1 chunk +121 lines, -0 lines 0 comments Download
M tests/language/mixin_super_2_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tests/language/mixin_super_bound2_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tests/language/mixin_super_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tests/language/mixin_super_use_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tests/language/mixin_superclass_test.dart View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Paul Berry
4 years, 11 months ago (2016-01-26 00:26:22 UTC) #2
Brian Wilkerson
LGTM
4 years, 11 months ago (2016-01-26 01:12:02 UTC) #3
regis
lgtm with one comment. For the record, I was asked to remove the flag from ...
4 years, 11 months ago (2016-01-26 01:42:59 UTC) #4
regis
lgtm with one comment. For the record, I was asked to remove the flag from ...
4 years, 11 months ago (2016-01-26 01:43:00 UTC) #5
Paul Berry
Committed patchset #1 (id:1) manually as afc2c880a6080d83afa8af3247844791cee5ab29 (presubmit successful).
4 years, 11 months ago (2016-01-26 16:50:27 UTC) #7
Paul Berry
4 years, 11 months ago (2016-01-26 16:50:31 UTC) #8
https://codereview.chromium.org/1635763003/diff/1/tests/language/language.status
File tests/language/language.status (right):

https://codereview.chromium.org/1635763003/diff/1/tests/language/language.sta...
tests/language/language.status:11: mixin_illegal_superclass_test: Skip #
"--supermixin" functionality already switched on in VM
On 2016/01/26 01:42:59, regis wrote:
> Please, refer an issue so that we know when to remove these lines.

Done.

Powered by Google App Engine
This is Rietveld 408576698