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

Issue 2704753002: Implement line and column numbers. (Closed)

Created:
3 years, 10 months ago by ahe
Modified:
3 years, 10 months ago
Reviewers:
karlklose
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com, Paul Berry, Vyacheslav Egorov (Google)
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1

Patch Set 2 : Undo whitespace change. #

Total comments: 10

Patch Set 3 : Update documentation. #

Patch Set 4 : Change message. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+387 lines, -161 lines) Patch
M pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart View 1 chunk +5 lines, -3 lines 0 comments Download
M pkg/front_end/lib/src/fasta/bin/run.dart View 2 chunks +21 lines, -16 lines 0 comments Download
M pkg/front_end/lib/src/fasta/builder/builder.dart View 2 chunks +8 lines, -4 lines 0 comments Download
M pkg/front_end/lib/src/fasta/builder/constructor_reference_builder.dart View 2 chunks +4 lines, -1 line 0 comments Download
M pkg/front_end/lib/src/fasta/builder/prefix_builder.dart View 2 chunks +5 lines, -2 lines 0 comments Download
M pkg/front_end/lib/src/fasta/compiler_command_line.dart View 1 2 3 chunks +32 lines, -0 lines 0 comments Download
A pkg/front_end/lib/src/fasta/compiler_context.dart View 1 2 1 chunk +40 lines, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/dill/dill_target.dart View 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/errors.dart View 4 chunks +16 lines, -13 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/body_builder.dart View 9 chunks +10 lines, -22 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/builder_accessors.dart View 2 chunks +2 lines, -1 line 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_class_builder.dart View 2 chunks +6 lines, -3 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_function_type_alias_builder.dart View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_invalid_type_builder.dart View 2 chunks +5 lines, -2 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_named_type_builder.dart View 2 chunks +6 lines, -5 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_procedure_builder.dart View 2 chunks +5 lines, -1 line 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_target.dart View 1 3 chunks +21 lines, -2 lines 0 comments Download
A pkg/front_end/lib/src/fasta/messages.dart View 1 chunk +74 lines, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/outline.dart View 6 chunks +39 lines, -29 lines 0 comments Download
M pkg/front_end/lib/src/fasta/run.dart View 1 chunk +5 lines, -5 lines 0 comments Download
M pkg/front_end/lib/src/fasta/source/diet_listener.dart View 16 chunks +24 lines, -24 lines 0 comments Download
M pkg/front_end/lib/src/fasta/source/outline_builder.dart View 9 chunks +9 lines, -9 lines 0 comments Download
M pkg/front_end/lib/src/fasta/source/source_library_builder.dart View 2 chunks +7 lines, -4 lines 0 comments Download
M pkg/front_end/lib/src/fasta/source/source_loader.dart View 5 chunks +14 lines, -6 lines 0 comments Download
M pkg/front_end/lib/src/fasta/source/stack_listener.dart View 4 chunks +15 lines, -5 lines 0 comments Download
M pkg/front_end/lib/src/fasta/target_implementation.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/front_end/test/fasta/kompile.status View 1 chunk +1 line, -1 line 0 comments Download
M pkg/kernel/lib/ast.dart View 1 chunk +1 line, -1 line 0 comments Download
M utils/kernel-service/kernel-service.dart View 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 10 (4 generated)
ahe
This information has been crucial to implementing patch files. On a related note: I'm still ...
3 years, 10 months ago (2017-02-17 21:44:42 UTC) #3
karlklose
LGTM https://codereview.chromium.org/2704753002/diff/40001/pkg/front_end/lib/src/fasta/builder/builder.dart File pkg/front_end/lib/src/fasta/builder/builder.dart (right): https://codereview.chromium.org/2704753002/diff/40001/pkg/front_end/lib/src/fasta/builder/builder.dart#newcode133 pkg/front_end/lib/src/fasta/builder/builder.dart:133: nit(library.fileUri, -1, "'$name' is imported from both " ...
3 years, 10 months ago (2017-02-20 08:06:20 UTC) #4
ahe
Thank you, Karl! I think there's a few open questions below, and I'll be happy ...
3 years, 10 months ago (2017-02-20 08:47:03 UTC) #6
karlklose
https://codereview.chromium.org/2704753002/diff/40001/pkg/front_end/lib/src/fasta/kernel/kernel_function_type_alias_builder.dart File pkg/front_end/lib/src/fasta/kernel/kernel_function_type_alias_builder.dart (right): https://codereview.chromium.org/2704753002/diff/40001/pkg/front_end/lib/src/fasta/kernel/kernel_function_type_alias_builder.dart#newcode51 pkg/front_end/lib/src/fasta/kernel/kernel_function_type_alias_builder.dart:51: warning(parent.uri, -1, "Cyclic typedef: '$name'."); On 2017/02/20 08:47:02, ahe ...
3 years, 10 months ago (2017-02-20 08:52:35 UTC) #7
ahe
Committed patchset #4 (id:100001) manually as d32f47b293d9b64978d643e93dfd10aa84e0443c (presubmit successful).
3 years, 10 months ago (2017-02-20 09:04:20 UTC) #9
ahe
3 years, 10 months ago (2017-02-20 09:05:50 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/2704753002/diff/40001/pkg/front_end/lib/src/f...
File pkg/front_end/lib/src/fasta/kernel/kernel_function_type_alias_builder.dart
(right):

https://codereview.chromium.org/2704753002/diff/40001/pkg/front_end/lib/src/f...
pkg/front_end/lib/src/fasta/kernel/kernel_function_type_alias_builder.dart:51:
warning(parent.uri, -1, "Cyclic typedef: '$name'.");
On 2017/02/20 08:52:35, karlklose wrote:
> On 2017/02/20 08:47:02, ahe wrote:
> > On 2017/02/20 08:06:19, karlklose wrote:
> > > Not sure there should be a period at the end of this message.
> > 
> > Why not? Grammatically, I think it should be:
> > 
> > "Cyclic typedef: '$name.'"
> > 
> > See
> >
http://www.quickanddirtytips.com/education/grammar/how-to-use-quotation-marks
> > 
> This is not about the placement of '.' in combination with quotation, but the
> fact that this message is not a complete sentence and thus should not be
> punctuated at all.
> 
> > However, I think including the period with name would be confusing, so I put
> it
> > at the end.
> > 
> > Would it be better if I changed the sentence to:
> > 
> > "The typedef '$name' has a reference to itself."
> 
> I would prefer this version.

That's a good point, please don't hesitate to complain about incomplete
sentences in the future.

Powered by Google App Engine
This is Rietveld 408576698