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

Issue 2411633002: Add `=` as default-value separator for named parameters. (Closed)

Created:
4 years, 2 months ago by Lasse Reichstein Nielsen
Modified:
4 years, 2 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 8

Patch Set 2 : Remove comments, fix spe quotes and indent, mark test failing #

Total comments: 1

Patch Set 3 : Add co19 issue number #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -51 lines) Patch
M docs/language/dartLangSpec.tex View 1 11 chunks +28 lines, -17 lines 0 comments Download
M pkg/analyzer/lib/error/error.dart View 1 1 chunk +0 lines, -1 line 0 comments Download
M pkg/analyzer/lib/src/dart/error/syntactic_errors.dart View 1 1 chunk +0 lines, -4 lines 0 comments Download
M pkg/analyzer/lib/src/generated/parser.dart View 2 chunks +2 lines, -4 lines 0 comments Download
M pkg/analyzer/test/generated/parser_test.dart View 1 1 chunk +0 lines, -8 lines 0 comments Download
M pkg/compiler/lib/src/diagnostics/messages.dart View 1 2 chunks +0 lines, -14 lines 0 comments Download
M pkg/compiler/lib/src/parser/parser.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M runtime/vm/parser.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/co19/co19-co19.status View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A tests/language/named_parameters_default_eq_test.dart View 1 chunk +96 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
Lasse Reichstein Nielsen
4 years, 2 months ago (2016-10-11 09:33:47 UTC) #2
floitsch
LGTM. https://codereview.chromium.org/2411633002/diff/1/pkg/analyzer/lib/src/generated/parser.dart File pkg/analyzer/lib/src/generated/parser.dart (left): https://codereview.chromium.org/2411633002/diff/1/pkg/analyzer/lib/src/generated/parser.dart#oldcode2793 pkg/analyzer/lib/src/generated/parser.dart:2793: ParserErrorCode.WRONG_SEPARATOR_FOR_NAMED_PARAMETER, separator); Remove error message. https://codereview.chromium.org/2411633002/diff/1/pkg/compiler/lib/src/parser/parser.dart File pkg/compiler/lib/src/parser/parser.dart ...
4 years, 2 months ago (2016-10-11 09:37:11 UTC) #3
Lasse Reichstein Nielsen
Have update that removes the error messages. Not uploaded yet, also removing some now failing ...
4 years, 2 months ago (2016-10-11 13:35:18 UTC) #4
eernst
LGTM, with one style comment about the spec (and one comment about a vm change ...
4 years, 2 months ago (2016-10-11 20:59:50 UTC) #5
eernst
LGTM, with one style comment about the spec (and one comment about a vm change ...
4 years, 2 months ago (2016-10-11 20:59:51 UTC) #6
Lasse Reichstein Nielsen
https://codereview.chromium.org/2411633002/diff/1/docs/language/dartLangSpec.tex File docs/language/dartLangSpec.tex (right): https://codereview.chromium.org/2411633002/diff/1/docs/language/dartLangSpec.tex#newcode748 docs/language/dartLangSpec.tex:748: normalFormalParameter ('=' expression)? Ack. Let's be consistent, even if ...
4 years, 2 months ago (2016-10-12 06:10:58 UTC) #7
Lasse Reichstein Nielsen
Adding hausner, since this is parser related. For the VM/dart2js/analyzer parts, you only need to ...
4 years, 2 months ago (2016-10-12 07:37:24 UTC) #9
siva
hausner is on vacation the change to parser.cc LGTM
4 years, 2 months ago (2016-10-12 20:40:28 UTC) #10
Siggi Cherem (dart-lang)
dart2js changes lgtm
4 years, 2 months ago (2016-10-13 17:08:22 UTC) #11
Lasse Reichstein Nielsen
Thanks. https://codereview.chromium.org/2411633002/diff/20001/pkg/compiler/lib/src/diagnostics/messages.dart File pkg/compiler/lib/src/diagnostics/messages.dart (right): https://codereview.chromium.org/2411633002/diff/20001/pkg/compiler/lib/src/diagnostics/messages.dart#newcode1374 pkg/compiler/lib/src/diagnostics/messages.dart:1374: MessageKind.POSITIONAL_PARAMETER_WITH_EQUALS: const MessageTemplate( Can't help but noticing that ...
4 years, 2 months ago (2016-10-14 09:06:49 UTC) #12
Lasse Reichstein Nielsen
4 years, 2 months ago (2016-10-14 09:25:53 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
efb9a12811b5707410b0e21ad13f498d477d3746 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698