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

Issue 2354603003: Fix crashes due to attempts to create an identifier name containing the word <bottom>. Likely there… (Closed)

Created:
4 years, 3 months ago by Jacob
Modified:
4 years, 2 months ago
Reviewers:
Leaf, Jennifer Messerly
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix crashes due to attempts to create an identifier name containing the word <bottom>. Likely there is a better fix but this appears to work for now. BUG= R=jmesserly@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/bad7f763749587c704070a7f4e62cf61ebedd781

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fix crash on type name <bottom> #

Patch Set 3 : This flag is needed by Dartium for JS interop. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -31 lines) Patch
M runtime/vm/dart_api_impl_test.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/parser.cc View 1 2 2 chunks +32 lines, -29 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Jacob
Is there a better fix? I need this change to avoid compiler crashes when asserts ...
4 years, 3 months ago (2016-09-19 21:00:14 UTC) #2
Jennifer Messerly
lgtm w/ suggested fix https://codereview.chromium.org/2354603003/diff/1/pkg/dev_compiler/lib/src/compiler/type_utilities.dart File pkg/dev_compiler/lib/src/compiler/type_utilities.dart (right): https://codereview.chromium.org/2354603003/diff/1/pkg/dev_compiler/lib/src/compiler/type_utilities.dart#newcode77 pkg/dev_compiler/lib/src/compiler/type_utilities.dart:77: // TODO(jacobr): are there more ...
4 years, 3 months ago (2016-09-19 21:17:51 UTC) #3
Jacob
applied all suggested fixes https://codereview.chromium.org/2354603003/diff/1/pkg/dev_compiler/lib/src/compiler/type_utilities.dart File pkg/dev_compiler/lib/src/compiler/type_utilities.dart (right): https://codereview.chromium.org/2354603003/diff/1/pkg/dev_compiler/lib/src/compiler/type_utilities.dart#newcode109 pkg/dev_compiler/lib/src/compiler/type_utilities.dart:109: if (type is TypeParameterType) return ...
4 years, 3 months ago (2016-09-19 21:49:32 UTC) #4
Jacob
4 years, 3 months ago (2016-09-19 21:52:19 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
bad7f763749587c704070a7f4e62cf61ebedd781 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698