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

Issue 8416052: Verify that user classes/interfaces do not extend/implement any of bool, num, (Closed)

Created:
9 years, 1 month ago by regis
Modified:
9 years, 1 month ago
Reviewers:
Anton Muhin, srdjan
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Verify that user classes/interfaces do not extend/implement any of bool, num, int, double, String, Function, or Dynamic. Committed: https://code.google.com/p/dart/source/detail?r=922

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -78 lines) Patch
M runtime/lib/error.h View 1 1 chunk +1 line, -1 line 0 comments Download
M runtime/lib/error.cc View 1 1 chunk +13 lines, -17 lines 0 comments Download
M runtime/vm/class_finalizer.cc View 1 2 chunks +27 lines, -4 lines 0 comments Download
M runtime/vm/code_generator_ia32.cc View 1 1 chunk +1 line, -4 lines 0 comments Download
M tests/language/language.status View 1 1 chunk +0 lines, -13 lines 0 comments Download
M tests/language/src/BlackListedTest.dart View 1 1 chunk +4 lines, -0 lines 3 comments Download
M tests/standalone/src/ProcessInvalidArgumentsTest.dart View 1 1 chunk +0 lines, -26 lines 0 comments Download
M tests/standalone/standalone.status View 1 1 chunk +0 lines, -13 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
regis
9 years, 1 month ago (2011-10-28 21:29:27 UTC) #1
srdjan
LGTM Could you also "fix" the BlackListedTest in /tests/standalone/standalone.status ? http://codereview.chromium.org/8416052/diff/1/runtime/vm/class_finalizer.cc File runtime/vm/class_finalizer.cc (right): http://codereview.chromium.org/8416052/diff/1/runtime/vm/class_finalizer.cc#newcode912 ...
9 years, 1 month ago (2011-10-28 21:42:42 UTC) #2
regis
Thanks! I also "fixed" the BlackListedTest in /tests/standalone/standalone.status -- Regis http://codereview.chromium.org/8416052/diff/1/runtime/vm/class_finalizer.cc File runtime/vm/class_finalizer.cc (right): http://codereview.chromium.org/8416052/diff/1/runtime/vm/class_finalizer.cc#newcode912 ...
9 years, 1 month ago (2011-10-28 22:23:58 UTC) #3
Anton Muhin
DBQ http://codereview.chromium.org/8416052/diff/3003/tests/language/src/BlackListedTest.dart File tests/language/src/BlackListedTest.dart (right): http://codereview.chromium.org/8416052/diff/3003/tests/language/src/BlackListedTest.dart#newcode34 tests/language/src/BlackListedTest.dart:34: class MyDynamic implements Dynamic {} /// 13: compile-time ...
9 years, 1 month ago (2011-10-31 08:28:29 UTC) #4
srdjan
http://codereview.chromium.org/8416052/diff/3003/tests/language/src/BlackListedTest.dart File tests/language/src/BlackListedTest.dart (right): http://codereview.chromium.org/8416052/diff/3003/tests/language/src/BlackListedTest.dart#newcode34 tests/language/src/BlackListedTest.dart:34: class MyDynamic implements Dynamic {} /// 13: compile-time error ...
9 years, 1 month ago (2011-10-31 15:18:26 UTC) #5
Anton Muhin
9 years, 1 month ago (2011-10-31 15:20:27 UTC) #6
http://codereview.chromium.org/8416052/diff/3003/tests/language/src/BlackList...
File tests/language/src/BlackListedTest.dart (right):

http://codereview.chromium.org/8416052/diff/3003/tests/language/src/BlackList...
tests/language/src/BlackListedTest.dart:34: class MyDynamic implements Dynamic
{}            /// 13: compile-time error
Thanks a lot for explanations, Srdjan.

On 2011/10/31 15:18:26, srdjan wrote:
> On 2011/10/31 08:28:29, antonmuhin wrote:
> > just for my education, will this test pass if any of those declarations is
> > invalid or only if all of them?
> 
> This test is split in 13 different tests/files automagically and they will be
> tested (or fail) independently.

Powered by Google App Engine
This is Rietveld 408576698