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

Issue 8921033: Implement revised factories in the VM. (Closed)

Created:
9 years ago by regis
Modified:
9 years ago
Reviewers:
srdjan
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Implement revised factories in the VM. Emit warnings when obsolete syntax is used. Committed: https://code.google.com/p/dart/source/detail?r=2394

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -138 lines) Patch
M corelib/src/implementation/hash_map_set.dart View 1 2 chunks +2 lines, -2 lines 4 comments Download
M corelib/src/implementation/linked_hash_map.dart View 1 1 chunk +1 line, -2 lines 0 comments Download
M corelib/src/implementation/queue.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M corelib/src/map.dart View 1 2 chunks +2 lines, -2 lines 0 comments Download
M corelib/src/set.dart View 1 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/lib/array.dart View 1 4 chunks +5 lines, -5 lines 0 comments Download
M runtime/lib/growable_array.dart View 1 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/lib/literal_factory.dart View 1 3 chunks +11 lines, -5 lines 0 comments Download
M runtime/vm/class_finalizer.cc View 1 1 chunk +24 lines, -32 lines 0 comments Download
M runtime/vm/code_generator_ia32.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/parser.cc View 1 16 chunks +108 lines, -53 lines 0 comments Download
M tests/co19/co19-frog.status View 1 2 chunks +0 lines, -2 lines 0 comments Download
M tests/language/language.status View 1 5 chunks +10 lines, -7 lines 0 comments Download
M tests/language/src/Factory2Test.dart View 1 2 chunks +3 lines, -3 lines 0 comments Download
M tests/language/src/Factory3Test.dart View 1 2 chunks +3 lines, -3 lines 0 comments Download
M tests/language/src/TypeVariableBoundsTest.dart View 1 1 chunk +4 lines, -6 lines 0 comments Download
M tests/language/src/TypeVariableScopeTest.dart View 1 1 chunk +8 lines, -10 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
regis
9 years ago (2011-12-13 01:25:43 UTC) #1
srdjan
LGTM with questions/comments. Could you check in all places in Dart code if mention of ...
9 years ago (2011-12-13 19:27:05 UTC) #2
regis
9 years ago (2011-12-13 19:34:57 UTC) #3
Thanks!

I cannot yet remove mentions of issue 417 in the code, since frog and dartc need
to implement the new syntax.

There will be another change where core lib is modified to the final syntax as
shown in the updated comments of this cl.

I will add a test in a later cl, since building and testing both frog and dartc
is very painful. I'll submit what I have working now.

Thanks,
Regis

http://codereview.chromium.org/8921033/diff/4001/corelib/src/implementation/h...
File corelib/src/implementation/hash_map_set.dart (right):

http://codereview.chromium.org/8921033/diff/4001/corelib/src/implementation/h...
corelib/src/implementation/hash_map_set.dart:53: // See issue 417. Works in the
vm, fails in dartc and frog.
On 2011/12/13 19:27:05, srdjan wrote:
> This is not 417 anymore, isn't it?

Well, it is still the same ongoing issue (factory syntax and type parameters).
It makes little sense to create a new issue.

http://codereview.chromium.org/8921033/diff/4001/corelib/src/implementation/h...
corelib/src/implementation/hash_map_set.dart:278: // See issue 417. Works in the
vm, fails in dartc and frog.
On 2011/12/13 19:27:05, srdjan wrote:
> ditto

ditto

Powered by Google App Engine
This is Rietveld 408576698