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

Issue 8588060: Fixes to get Swarm demo working again. (Closed)

Created:
9 years, 1 month ago by Jennifer Messerly
Modified:
9 years ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fixes to get Swarm demo app working again. The key fix is that we correctly specialize the parent of a generic type, and ensure that inherited generic members are created on the correct concrete type. Otherwise, we end up pulling the base method into the derived ConcreteType, potentially pulling it into a totally different library and messing up private member access. To make this work in the generated code, we need to also pull these members into the derived ConcreteType's prototype. Committed: https://code.google.com/p/dart/source/detail?r=1670

Patch Set 1 #

Patch Set 2 : update client status #

Total comments: 7

Patch Set 3 : merged #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+389 lines, -236 lines) Patch
M client/tests/client/client.status View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M frog/frogsh View 1 2 73 chunks +244 lines, -155 lines 0 comments Download
M frog/gen.dart View 1 2 6 chunks +44 lines, -10 lines 3 comments Download
M frog/member.dart View 1 2 4 chunks +9 lines, -0 lines 0 comments Download
M frog/type.dart View 1 2 6 chunks +85 lines, -68 lines 0 comments Download
M frog/value.dart View 1 2 1 chunk +5 lines, -1 line 1 comment Download

Messages

Total messages: 6 (0 generated)
Jennifer Messerly
Here's an example of the main issue. Consider: #library('lib1'); class Base<T> { foo() => _bar() ...
9 years, 1 month ago (2011-11-18 18:51:29 UTC) #1
Jennifer Messerly
When I merged, I had to temporarily disable swarm_test again due to DOM changes yesterday. ...
9 years, 1 month ago (2011-11-18 19:54:36 UTC) #2
Siggi Cherem (dart-lang)
minor drive-by comment http://codereview.chromium.org/8588060/diff/3003/frog/gen.dart File frog/gen.dart (right): http://codereview.chromium.org/8588060/diff/3003/frog/gen.dart#newcode320 frog/gen.dart:320: }"""); should this code be in ...
9 years, 1 month ago (2011-11-18 20:09:58 UTC) #3
Jennifer Messerly
http://codereview.chromium.org/8588060/diff/3003/frog/gen.dart File frog/gen.dart (right): http://codereview.chromium.org/8588060/diff/3003/frog/gen.dart#newcode320 frog/gen.dart:320: }"""); On 2011/11/18 20:09:58, sigmund wrote: > should this ...
9 years, 1 month ago (2011-11-18 21:30:07 UTC) #4
Siggi Cherem (dart-lang)
On 2011/11/18 21:30:07, John Messerly wrote: > http://codereview.chromium.org/8588060/diff/3003/frog/gen.dart > File frog/gen.dart (right): > > http://codereview.chromium.org/8588060/diff/3003/frog/gen.dart#newcode320 ...
9 years, 1 month ago (2011-11-18 21:31:44 UTC) #5
jimhug
9 years ago (2011-12-14 19:00:56 UTC) #6
lgtm

http://codereview.chromium.org/8588060/diff/3003/frog/gen.dart
File frog/gen.dart (right):

http://codereview.chromium.org/8588060/diff/3003/frog/gen.dart#newcode20
frog/gen.dart:20: CodeWriter _mixins;
<smile>

http://codereview.chromium.org/8588060/diff/3003/frog/value.dart
File frog/value.dart (right):

http://codereview.chromium.org/8588060/diff/3003/frog/value.dart#newcode182
frog/value.dart:182: where = 'library "${context.library.name}"';
Nice message fix.

Powered by Google App Engine
This is Rietveld 408576698