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

Issue 2746013003: [fasta] Add and correct even more offsets (Closed)

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

Description

[fasta] Add and correct even more offsets E.g. kernel debugging of async functions should now work. BUG= R=ahe@google.com Committed: https://github.com/dart-lang/sdk/commit/4d208e2ffb209373a07dff9a5f148b33c7356290

Patch Set 1 #

Total comments: 6

Patch Set 2 : Offset on this property access too (+ addressed some comments) #

Patch Set 3 : Changed function offset on constructors (+ rebase) #

Patch Set 4 : Removed formalParametersToken parameter #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -84 lines) Patch
M pkg/analyzer/lib/src/fasta/ast_builder.dart View 1 2 3 3 chunks +9 lines, -6 lines 0 comments Download
M pkg/analyzer/lib/src/summary/fasta/summary_builder.dart View 1 2 3 4 chunks +6 lines, -6 lines 0 comments Download
M pkg/analyzer/tool/summary/mini_ast.dart View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/parser/node_listener.dart View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/body_builder.dart View 1 2 3 23 chunks +46 lines, -30 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/builder_accessors.dart View 1 5 chunks +15 lines, -14 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/frontend_accessors.dart View 1 3 chunks +12 lines, -7 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_enum_builder.dart View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_formal_parameter_builder.dart View 3 chunks +3 lines, -2 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart View 1 2 5 chunks +5 lines, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_procedure_builder.dart View 1 2 6 chunks +8 lines, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_target.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/parser/listener.dart View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M pkg/front_end/lib/src/fasta/parser/parser.dart View 1 2 3 8 chunks +10 lines, -4 lines 0 comments Download
M pkg/front_end/lib/src/fasta/source/outline_builder.dart View 1 2 3 12 chunks +26 lines, -5 lines 0 comments Download
M pkg/front_end/lib/src/fasta/source/source_class_builder.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/front_end/lib/src/fasta/source/source_library_builder.dart View 1 2 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
jensj
3 years, 9 months ago (2017-03-13 14:17:01 UTC) #2
ahe
Some preliminary comments. https://codereview.chromium.org/2746013003/diff/1/pkg/front_end/lib/src/fasta/kernel/body_builder.dart File pkg/front_end/lib/src/fasta/kernel/body_builder.dart (right): https://codereview.chromium.org/2746013003/diff/1/pkg/front_end/lib/src/fasta/kernel/body_builder.dart#newcode228 pkg/front_end/lib/src/fasta/kernel/body_builder.dart:228: Block popBlock(int count, Token beginToken) { ...
3 years, 9 months ago (2017-03-13 14:33:52 UTC) #3
jensj
Thanks --- if you have a better name than 'formalParametersToken' to describe the 'whatever is ...
3 years, 9 months ago (2017-03-14 12:37:12 UTC) #4
jensj
ping.
3 years, 9 months ago (2017-03-20 11:55:11 UTC) #5
jensj
With help from Peter, formalParametersToken parameter was removed --- pushing position on stack instead. PTAL.
3 years, 9 months ago (2017-03-20 14:48:03 UTC) #7
ahe
lgtm
3 years, 9 months ago (2017-03-20 15:14:44 UTC) #8
jensj
3 years, 9 months ago (2017-03-21 09:57:38 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 (id:80001) manually as
4d208e2ffb209373a07dff9a5f148b33c7356290 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698