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

Issue 2476423005: Enable syntax-only support for generic functions by default. (Closed)

Created:
4 years, 1 month ago by eernst
Modified:
4 years ago
CC:
reviews_dartlang.org, floitsch
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Enable syntax-only support for generic functions by default. This CL removes the 'DartOptions=--generic-method-syntax' directives in test cases concerned with generic functions and enables that feature by default. The option '--generic-method-syntax' is still allowed, but the feature is always enabled so the option makes no difference. R=johnniwinther@google.com, sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/70fa0defe9b416669b6e01acf9f31d49aac3426f

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -16 lines) Patch
M pkg/compiler/lib/src/commandline_options.dart View 2 chunks +16 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/diagnostics/messages.dart View 2 chunks +0 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/options.dart View 1 chunk +1 line, -1 line 1 comment Download
M tests/language/generic_functions_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/language/generic_local_functions_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/language/generic_methods_function_type_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/language/generic_methods_generic_function_parameter_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/language/generic_methods_new_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/language/generic_methods_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/language/generic_methods_type_expression_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/language/generic_sends_test.dart View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 8 (3 generated)
eernst
Enabling --generic-method-syntax by default. Note that this CL will only be landed when we have ...
4 years, 1 month ago (2016-11-09 13:52:53 UTC) #2
Johnni Winther
lgtm
4 years, 1 month ago (2016-11-09 14:02:45 UTC) #3
Siggi Cherem (dart-lang)
lgtm, thanks Erik! https://codereview.chromium.org/2476423005/diff/1/pkg/compiler/lib/src/options.dart File pkg/compiler/lib/src/options.dart (right): https://codereview.chromium.org/2476423005/diff/1/pkg/compiler/lib/src/options.dart#newcode292 pkg/compiler/lib/src/options.dart:292: true, // No check for `Flags.genericMethodSyntax`: ...
4 years, 1 month ago (2016-11-10 20:54:50 UTC) #5
eernst
Committed patchset #1 (id:1) manually as 70fa0defe9b416669b6e01acf9f31d49aac3426f (presubmit successful).
4 years, 1 month ago (2016-11-18 08:56:28 UTC) #7
eernst
4 years ago (2016-11-22 09:33:16 UTC) #8
Message was sent while issue was closed.
As mentioned in email, 'deleting this property from here
and ParserOptions' will be handled in a separate CL.

Powered by Google App Engine
This is Rietveld 408576698