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

Issue 2980863003: The very first bits of resynthesizing elements from kernels. (Closed)

Created:
3 years, 5 months ago by scheglov
Modified:
3 years, 5 months ago
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com
Target Ref:
refs/heads/master
Visibility:
Public.

Description

The very first bits of resynthesizing elements from kernels. Just parts of library, defining unit and class for now. This is enough to pass 15 tests out of 522 :-) Although some of them are passing accidentally. Only strong mode tests for now. We don't compare with Analyzer elements created using Analyzer builders, because these builders will go away. But we miss testing for things like name offsets. R=ahe@google.com, paulberry@google.com, sigmund@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/0d9357431d84ff853e10dcc10ce1be3b4f3a1ead

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixes for review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2839 lines, -19 lines) Patch
M pkg/analyzer/lib/src/dart/element/element.dart View 1 25 chunks +134 lines, -7 lines 0 comments Download
M pkg/analyzer/test/src/summary/resynthesize_common.dart View 1 2 chunks +1 line, -12 lines 0 comments Download
A pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart View 1 1 chunk +2702 lines, -0 lines 0 comments Download
M pkg/analyzer/test/src/summary/test_all.dart View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (1 generated)
scheglov
3 years, 5 months ago (2017-07-13 18:57:26 UTC) #1
Paul Berry
Please get Siggi or Peter's approval on the addition of temporaryUntilPrintsRemovedEnablePrinting. Assuming one of them ...
3 years, 5 months ago (2017-07-13 19:29:40 UTC) #2
Siggi Cherem (dart-lang)
Konstantin - I was hoping we could avoid on the 'temporaryUntilPrintsRemovedEnablePrinting' flag, because you will ...
3 years, 5 months ago (2017-07-13 21:20:54 UTC) #3
scheglov
A quick comment about the 'temporaryUntilPrintsRemovedEnablePrinting' flag. If we don't add it even temporary, analyzer ...
3 years, 5 months ago (2017-07-13 21:24:08 UTC) #4
Siggi Cherem (dart-lang)
On 2017/07/13 21:24:08, scheglov wrote: > A quick comment about the 'temporaryUntilPrintsRemovedEnablePrinting' flag. > > ...
3 years, 5 months ago (2017-07-13 22:17:42 UTC) #5
scheglov
https://codereview.chromium.org/2980863003/diff/1/pkg/analyzer/lib/src/dart/element/element.dart File pkg/analyzer/lib/src/dart/element/element.dart (right): https://codereview.chromium.org/2980863003/diff/1/pkg/analyzer/lib/src/dart/element/element.dart#newcode9000 pkg/analyzer/lib/src/dart/element/element.dart:9000: // String get name; On 2017/07/13 19:29:39, Paul Berry ...
3 years, 5 months ago (2017-07-14 05:19:07 UTC) #6
scheglov
OK, I rolled back the "temporaryUntilPrintsRemovedEnablePrinting" flag. It is OK to see some garbage for ...
3 years, 5 months ago (2017-07-14 05:20:31 UTC) #7
scheglov
Committed patchset #2 (id:20001) manually as 0d9357431d84ff853e10dcc10ce1be3b4f3a1ead (presubmit successful).
3 years, 5 months ago (2017-07-14 05:21:02 UTC) #9
ahe
I have landed CL 2977013002 now. For future reference, you can use zones to silence ...
3 years, 5 months ago (2017-07-14 12:26:29 UTC) #10
Siggi Cherem (dart-lang)
BTW just sent https://codereview.chromium.org/2980093002/ which should take care of the undesired printing.
3 years, 5 months ago (2017-07-14 15:42:26 UTC) #11
scheglov
3 years, 5 months ago (2017-07-14 15:49:46 UTC) #12
Message was sent while issue was closed.
On 2017/07/14 15:42:26, Siggi Cherem (dart-lang) wrote:
> BTW just sent https://codereview.chromium.org/2980093002/ which should take
care
> of the undesired printing.

Thanks!

Powered by Google App Engine
This is Rietveld 408576698