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

Issue 2656303004: Add a temporary analyzer error to work around #28515 (Closed)

Created:
3 years, 10 months ago by Paul Berry
Modified:
3 years, 10 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add a temporary analyzer error to work around #28515 Analyzer summaries do not yet support generic function-typed parameters. To avoid user confusion, generate an error if the user tries to use a generic function-typed parameter. The error can be worked around by using a typedef or changing generic types to `dynamic`. R=brianwilkerson@google.com, scheglov@google.com Committed: https://github.com/dart-lang/sdk/commit/c9b692e8d9e5d6217e73f1a892081cf0f482f3e5

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -46 lines) Patch
M pkg/analyzer/lib/error/error.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/analyzer/lib/src/error/codes.dart View 1 chunk +16 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/generated/declaration_resolver.dart View 1 chunk +7 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/generated/error_verifier.dart View 3 chunks +42 lines, -34 lines 0 comments Download
M pkg/analyzer/test/generated/compile_time_error_code_test.dart View 1 chunk +45 lines, -0 lines 0 comments Download
M pkg/analyzer/test/generated/strong_mode_test.dart View 11 chunks +30 lines, -12 lines 0 comments Download
M pkg/analyzer/test/src/context/context_test.dart View 1 chunk +1 line, -0 lines 2 comments Download
M tests/language/language_analyzer2.status View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Paul Berry
3 years, 10 months ago (2017-01-27 18:01:54 UTC) #2
scheglov
LGTM
3 years, 10 months ago (2017-01-27 18:06:33 UTC) #3
Brian Wilkerson
lgtm https://codereview.chromium.org/2656303004/diff/1/pkg/analyzer/test/src/context/context_test.dart File pkg/analyzer/test/src/context/context_test.dart (right): https://codereview.chromium.org/2656303004/diff/1/pkg/analyzer/test/src/context/context_test.dart#newcode2537 pkg/analyzer/test/src/context/context_test.dart:2537: @failingTest // TODO(paulberry): Remove when dartbug.com/28515 is fixed. ...
3 years, 10 months ago (2017-01-27 19:37:05 UTC) #4
Paul Berry
https://codereview.chromium.org/2656303004/diff/1/pkg/analyzer/test/src/context/context_test.dart File pkg/analyzer/test/src/context/context_test.dart (right): https://codereview.chromium.org/2656303004/diff/1/pkg/analyzer/test/src/context/context_test.dart#newcode2537 pkg/analyzer/test/src/context/context_test.dart:2537: @failingTest // TODO(paulberry): Remove when dartbug.com/28515 is fixed. On ...
3 years, 10 months ago (2017-01-29 15:28:57 UTC) #5
Paul Berry
Committed patchset #1 (id:1) manually as c9b692e8d9e5d6217e73f1a892081cf0f482f3e5 (presubmit successful).
3 years, 10 months ago (2017-01-29 15:35:10 UTC) #7
Paul Berry
3 years, 10 months ago (2017-01-29 21:41:55 UTC) #8
Message was sent while issue was closed.
On 2017/01/29 15:35:10, Paul Berry wrote:
> Committed patchset #1 (id:1) manually as
> c9b692e8d9e5d6217e73f1a892081cf0f482f3e5 (presubmit successful).

Note: this CL introduced some test failures.  Fix is here:
https://codereview.chromium.org/2660773003/

Powered by Google App Engine
This is Rietveld 408576698