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

Issue 211963003: Detect and reject illegal recursive types (non-contractive types). (Closed)

Created:
6 years, 9 months ago by regis
Modified:
6 years, 9 months ago
Reviewers:
srdjan, hausner
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Detect and reject illegal recursive types (non-contractive types). Fixed instantiation and equality of recursive types. Added many asserts to detect issues with recursive types. Disabled bad tests. They declare illegal types and will be fixed in a later cl. R=hausner@google.com, srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=34460

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 12

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+439 lines, -206 lines) Patch
M runtime/vm/class_finalizer.h View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M runtime/vm/class_finalizer.cc View 1 2 3 20 chunks +175 lines, -77 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 8 chunks +34 lines, -14 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 29 chunks +223 lines, -114 lines 0 comments Download
M tests/language/language.status View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
regis
6 years, 9 months ago (2014-03-26 17:22:00 UTC) #1
srdjan
Could you add new tests that fail/pass? https://codereview.chromium.org/211963003/diff/70001/runtime/vm/class_finalizer.cc File runtime/vm/class_finalizer.cc (right): https://codereview.chromium.org/211963003/diff/70001/runtime/vm/class_finalizer.cc#newcode516 runtime/vm/class_finalizer.cc:516: // finalized ...
6 years, 9 months ago (2014-03-26 18:02:11 UTC) #2
regis
Thanks! PTAL. As discussed offline, the 3 tests currently disabled in language.status will be modified ...
6 years, 9 months ago (2014-03-26 18:41:29 UTC) #3
srdjan
LGTM https://codereview.chromium.org/211963003/diff/90001/runtime/vm/class_finalizer.cc File runtime/vm/class_finalizer.cc (right): https://codereview.chromium.org/211963003/diff/90001/runtime/vm/class_finalizer.cc#newcode541 runtime/vm/class_finalizer.cc:541: if ((num_type_params == 0) || Does num_type_parames ==0 ...
6 years, 9 months ago (2014-03-26 21:35:02 UTC) #4
hausner
LGTM2 https://codereview.chromium.org/211963003/diff/90001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/211963003/diff/90001/runtime/vm/object.cc#newcode4606 runtime/vm/object.cc:4606: #ifdef DEBUG if you rewrite this as if ...
6 years, 9 months ago (2014-03-26 21:37:20 UTC) #5
regis
Thanks! https://codereview.chromium.org/211963003/diff/90001/runtime/vm/class_finalizer.cc File runtime/vm/class_finalizer.cc (right): https://codereview.chromium.org/211963003/diff/90001/runtime/vm/class_finalizer.cc#newcode541 runtime/vm/class_finalizer.cc:541: if ((num_type_params == 0) || On 2014/03/26 21:35:02, ...
6 years, 9 months ago (2014-03-26 23:24:58 UTC) #6
regis
6 years, 9 months ago (2014-03-26 23:38:22 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 manually as r34460 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698