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

Issue 2054443002: Add analysis option that will be used to fix #26583 (Closed)

Created:
4 years, 6 months ago by Jennifer Messerly
Modified:
4 years, 6 months ago
Reviewers:
Leaf, Brian Wilkerson
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add analysis option that will be used to fix #26583 There's follow up work that is needed for CLI and analysis_options R=brianwilkerson@google.com, leafp@google.com Committed: https://github.com/dart-lang/sdk/commit/67dd48060b127ebbaf67b091a2802bc728db3b50

Patch Set 1 : #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -157 lines) Patch
M pkg/analyzer/lib/src/context/context.dart View 1 2 chunks +4 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/generated/engine.dart View 1 2 chunks +9 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/task/dart.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/lib/src/task/strong/checker.dart View 8 chunks +13 lines, -13 lines 0 comments Download
M pkg/analyzer/lib/src/task/strong/info.dart View 1 9 chunks +69 lines, -142 lines 0 comments Download
M pkg/analyzer/test/src/task/strong/checker_test.dart View 1 1 chunk +7 lines, -0 lines 0 comments Download
M pkg/analyzer/test/src/task/strong/strong_test_helper.dart View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 23 (3 generated)
Jennifer Messerly
The user experience goal is to expose a simple option to make all implicit casts ...
4 years, 6 months ago (2016-06-08 17:48:35 UTC) #3
Jennifer Messerly
https://codereview.chromium.org/2054443002/diff/20001/pkg/analyzer/lib/src/task/strong/info.dart File pkg/analyzer/lib/src/task/strong/info.dart (right): https://codereview.chromium.org/2054443002/diff/20001/pkg/analyzer/lib/src/task/strong/info.dart#newcode397 pkg/analyzer/lib/src/task/strong/info.dart:397: 'STRONG_MODE_ASSIGNMENT_CAST', do we need all of these? I started ...
4 years, 6 months ago (2016-06-08 17:50:47 UTC) #4
Brian Wilkerson
lgtm https://codereview.chromium.org/2054443002/diff/20001/pkg/analyzer/lib/src/task/strong/info.dart File pkg/analyzer/lib/src/task/strong/info.dart (right): https://codereview.chromium.org/2054443002/diff/20001/pkg/analyzer/lib/src/task/strong/info.dart#newcode146 pkg/analyzer/lib/src/task/strong/info.dart:146: ErrorCode errorCode; Creating a new ErrorCode for each ...
4 years, 6 months ago (2016-06-08 18:31:35 UTC) #5
Jennifer Messerly
Thanks so much Brian! https://codereview.chromium.org/2054443002/diff/20001/pkg/analyzer/lib/src/task/strong/info.dart File pkg/analyzer/lib/src/task/strong/info.dart (right): https://codereview.chromium.org/2054443002/diff/20001/pkg/analyzer/lib/src/task/strong/info.dart#newcode146 pkg/analyzer/lib/src/task/strong/info.dart:146: ErrorCode errorCode; On 2016/06/08 18:31:35, ...
4 years, 6 months ago (2016-06-08 19:01:52 UTC) #6
Brian Wilkerson
https://codereview.chromium.org/2054443002/diff/20001/pkg/analyzer/lib/src/task/strong/info.dart File pkg/analyzer/lib/src/task/strong/info.dart (right): https://codereview.chromium.org/2054443002/diff/20001/pkg/analyzer/lib/src/task/strong/info.dart#newcode146 pkg/analyzer/lib/src/task/strong/info.dart:146: ErrorCode errorCode; Having multiple error codes would be useful ...
4 years, 6 months ago (2016-06-08 19:06:07 UTC) #7
Leaf
A couple of high level comments. 1) Is there a benefit to making this a ...
4 years, 6 months ago (2016-06-08 20:10:49 UTC) #8
Jennifer Messerly
On 2016/06/08 20:10:49, Leaf wrote: > A couple of high level comments. > > 1) ...
4 years, 6 months ago (2016-06-08 20:32:47 UTC) #9
Jennifer Messerly
On 2016/06/08 20:32:47, John Messerly wrote: > On 2016/06/08 20:10:49, Leaf wrote: > > A ...
4 years, 6 months ago (2016-06-08 20:33:12 UTC) #10
Jennifer Messerly
Here's another question for you guys ... we currently use the expando AST property map ...
4 years, 6 months ago (2016-06-09 00:33:02 UTC) #11
Jennifer Messerly
BTW, while some of these questions are pending I am building on this CL with ...
4 years, 6 months ago (2016-06-09 00:50:40 UTC) #12
Brian Wilkerson
> I was thinking just a `HashMap<AstNode, DartType>` could track the coercions for the entire ...
4 years, 6 months ago (2016-06-09 13:57:51 UTC) #13
Leaf
> Yeah I wondered that too :) ... was kind of thinking a warning because ...
4 years, 6 months ago (2016-06-09 22:14:55 UTC) #14
Leaf
On 2016/06/09 00:33:02, John Messerly wrote: > Here's another question for you guys ... we ...
4 years, 6 months ago (2016-06-09 22:16:56 UTC) #15
Brian Wilkerson
> If we can, my inclination is to pull it out of band. I had ...
4 years, 6 months ago (2016-06-09 22:24:08 UTC) #16
Jennifer Messerly
On 2016/06/09 22:14:55, Leaf wrote: > > Yeah I wondered that too :) ... was ...
4 years, 6 months ago (2016-06-09 22:26:45 UTC) #17
Leaf
lgtm with warning -> error.
4 years, 6 months ago (2016-06-10 20:40:24 UTC) #18
Jennifer Messerly
On 2016/06/10 20:40:24, Leaf wrote: > lgtm with warning -> error. Done :)
4 years, 6 months ago (2016-06-10 21:05:28 UTC) #19
Jennifer Messerly
Committed patchset #2 (id:40001) manually as 67dd48060b127ebbaf67b091a2802bc728db3b50 (presubmit successful).
4 years, 6 months ago (2016-06-10 21:05:48 UTC) #21
Jennifer Messerly
By the way, I've been busy in the meantime and will soon have a follow ...
4 years, 6 months ago (2016-06-10 21:13:10 UTC) #22
Jennifer Messerly
4 years, 6 months ago (2016-06-10 22:58:22 UTC) #23
Message was sent while issue was closed.
On 2016/06/10 21:13:10, John Messerly wrote:
> By the way, I've been busy in the meantime and will soon have a follow up to
> address many of the high level ideas discussed here.

And that CL is: https://codereview.chromium.org/2060013002/

Powered by Google App Engine
This is Rietveld 408576698