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

Issue 2880343002: Add support for execution of constructor body (Closed)

Created:
3 years, 7 months ago by zhivkag
Modified:
3 years, 7 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 16

Patch Set 2 : Apply comments #

Total comments: 1

Patch Set 3 : Merge new instance allocation #

Patch Set 4 : Remove constructor body continuation #

Patch Set 5 : Refactor #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -77 lines) Patch
M pkg/kernel/lib/interpreter/interpreter.dart View 1 2 3 4 13 chunks +109 lines, -70 lines 1 comment Download
A pkg/kernel/testcases/interpreter/constructor_test.dart View 1 chunk +36 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/interpreter/constructor_test.dart.expect View 1 chunk +31 lines, -0 lines 0 comments Download
M pkg/kernel/testcases/interpreter/object_initializers_test.dart View 1 chunk +1 line, -3 lines 0 comments Download
M pkg/kernel/testcases/interpreter/object_initializers_test.dart.expect View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
zhivkag
Hi, This change adds support for execution of the body of constructors. It also makes ...
3 years, 7 months ago (2017-05-15 14:24:13 UTC) #2
Dmitry Stefantsov
I like it! However, there is something I'd like to discuss before we land it. ...
3 years, 7 months ago (2017-05-16 08:07:50 UTC) #3
Dmitry Stefantsov
https://codereview.chromium.org/2880343002/diff/1/pkg/kernel/lib/interpreter/interpreter.dart File pkg/kernel/lib/interpreter/interpreter.dart (right): https://codereview.chromium.org/2880343002/diff/1/pkg/kernel/lib/interpreter/interpreter.dart#newcode366 pkg/kernel/lib/interpreter/interpreter.dart:366: class NewInstanceConfiguration extends StatementConfiguration { On 2017/05/16 08:07:50, Dmitry ...
3 years, 7 months ago (2017-05-16 09:59:24 UTC) #4
zhivkag
Thanks for the comments, PTAL! https://codereview.chromium.org/2880343002/diff/1/pkg/kernel/lib/interpreter/interpreter.dart File pkg/kernel/lib/interpreter/interpreter.dart (right): https://codereview.chromium.org/2880343002/diff/1/pkg/kernel/lib/interpreter/interpreter.dart#newcode46 pkg/kernel/lib/interpreter/interpreter.dart:46: abstract class Environment { ...
3 years, 7 months ago (2017-05-16 10:51:14 UTC) #5
Dmitry Stefantsov
I mostly agree with the changes, but have one important comment that I think should ...
3 years, 7 months ago (2017-05-16 11:06:52 UTC) #6
Dmitry Stefantsov
https://codereview.chromium.org/2880343002/diff/80001/pkg/kernel/lib/interpreter/interpreter.dart File pkg/kernel/lib/interpreter/interpreter.dart (right): https://codereview.chromium.org/2880343002/diff/80001/pkg/kernel/lib/interpreter/interpreter.dart#newcode561 pkg/kernel/lib/interpreter/interpreter.dart:561: new NewInstanceConfiguration(continuation, newObject)); I think this statement would be ...
3 years, 7 months ago (2017-05-18 12:56:51 UTC) #7
Dmitry Stefantsov
After a discussion it turned out that avoiding mutations is a big change and is ...
3 years, 7 months ago (2017-05-18 13:26:07 UTC) #8
zhivkag
3 years, 7 months ago (2017-05-18 13:30:33 UTC) #10
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
e68b664383445d4108c5b4d96721f2db2fec971c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698