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

Issue 18801007: Support type parameters and classes as expression in the vm. (Closed)

Created:
7 years, 5 months ago by regis
Modified:
7 years, 5 months ago
Reviewers:
hausner
CC:
reviews_dartlang.org, Ivan Posva
Visibility:
Public.

Description

Support type parameters and classes as expression in the vm. Turn many compile-time errors into runtime errors per latest spec. Triage affected tests. R=hausner@google.com Committed: https://code.google.com/p/dart/source/detail?r=24861

Patch Set 1 #

Total comments: 9

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+434 lines, -249 lines) Patch
M pkg/pkg.status View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/ast.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/ast.cc View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M runtime/vm/code_generator.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/code_generator.cc View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 2 1 chunk +12 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
M runtime/vm/il_printer.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 2 chunks +39 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 1 2 1 chunk +39 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
M runtime/vm/object.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M runtime/vm/object.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M runtime/vm/parser.h View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/parser.cc View 1 2 21 chunks +150 lines, -103 lines 0 comments Download
M tests/co19/co19-dart2dart.status View 1 2 4 chunks +0 lines, -36 lines 0 comments Download
M tests/co19/co19-runtime.status View 1 2 6 chunks +2 lines, -42 lines 0 comments Download
M tests/language/class_literal_test.dart View 1 2 2 chunks +16 lines, -18 lines 0 comments Download
M tests/language/language.status View 1 2 5 chunks +1 line, -6 lines 0 comments Download
M tests/language/language_analyzer.status View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M tests/language/language_analyzer2.status View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D tests/language/type_variable_identifier_expression_negative_test.dart View 1 2 1 chunk +0 lines, -25 lines 0 comments Download
A + tests/language/type_variable_identifier_expression_test.dart View 2 chunks +2 lines, -5 lines 0 comments Download
M tests/lib/lib.status View 1 2 2 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
regis
I may still have to adjust status files for dart2js and friends before submitting. Thanks, ...
7 years, 5 months ago (2013-07-08 17:09:40 UTC) #1
hausner
LGTM with comments. https://codereview.chromium.org/18801007/diff/1/runtime/vm/parser.cc File runtime/vm/parser.cc (left): https://codereview.chromium.org/18801007/diff/1/runtime/vm/parser.cc#oldcode7375 runtime/vm/parser.cc:7375: if (!IsAssignableExpr(expr)) { It looks like ...
7 years, 5 months ago (2013-07-08 19:51:15 UTC) #2
regis
Thanks! https://codereview.chromium.org/18801007/diff/1/runtime/vm/parser.cc File runtime/vm/parser.cc (left): https://codereview.chromium.org/18801007/diff/1/runtime/vm/parser.cc#oldcode7375 runtime/vm/parser.cc:7375: if (!IsAssignableExpr(expr)) { On 2013/07/08 19:51:15, hausner wrote: ...
7 years, 5 months ago (2013-07-08 23:04:15 UTC) #3
hausner
https://codereview.chromium.org/18801007/diff/1/runtime/vm/parser.cc File runtime/vm/parser.cc (left): https://codereview.chromium.org/18801007/diff/1/runtime/vm/parser.cc#oldcode7375 runtime/vm/parser.cc:7375: if (!IsAssignableExpr(expr)) { I don't know whether we have ...
7 years, 5 months ago (2013-07-08 23:38:07 UTC) #4
regis
Matthias, let's chat in person tomorrow. I still have a bunch of dart2dart (now passing) ...
7 years, 5 months ago (2013-07-09 00:13:54 UTC) #5
regis
7 years, 5 months ago (2013-07-09 19:36:08 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r24861 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698