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

Issue 1700523002: fixes #24507, allow known functions to be treated as strict arrows (Closed)

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

Description

fixes #24507, allow known functions to be treated as strict arrows In a known function, * -> * will be top -> top. In all other function types, it will still be bottom -> top. R=leafp@google.com Committed: https://github.com/dart-lang/sdk/commit/acc95d319573ec19c6cb60ce514182fd746b1972

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : remove todo #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 10

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -31 lines) Patch
M pkg/analyzer/lib/src/generated/type_system.dart View 1 2 3 4 1 chunk +4 lines, -7 lines 0 comments Download
M pkg/analyzer/lib/src/task/strong/checker.dart View 1 2 3 4 5 3 chunks +59 lines, -2 lines 0 comments Download
M pkg/analyzer/lib/src/task/strong/info.dart View 1 2 3 4 5 2 chunks +14 lines, -10 lines 0 comments Download
M pkg/analyzer/test/src/task/strong/checker_test.dart View 1 2 3 4 5 2 chunks +88 lines, -12 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Jennifer Messerly
Hey guys, any thoughts on this approach? The idea here is: whenever CodeChecker gets a ...
4 years, 10 months ago (2016-02-13 00:51:12 UTC) #3
Jennifer Messerly
Oh, BTW. If you like this approach, we can remove some vestigial checks in type ...
4 years, 10 months ago (2016-02-13 00:55:11 UTC) #4
Leaf
I'm surprised that you didn't have to do anything in the analyzer proper. Do you ...
4 years, 10 months ago (2016-02-16 20:30:43 UTC) #5
Jennifer Messerly
Thanks Leaf! Hmm, you're right, this may need a change in Analyzer proper. I though ...
4 years, 10 months ago (2016-02-16 21:04:59 UTC) #6
Leaf
I'm fine with just using arbitrary names as well - I know these tests get ...
4 years, 10 months ago (2016-02-16 22:25:07 UTC) #7
Jennifer Messerly
On 2016/02/16 22:25:07, Leaf wrote: > I'm fine with just using arbitrary names as well ...
4 years, 10 months ago (2016-02-17 17:47:03 UTC) #8
Jennifer Messerly
Thanks! I fixed the test naming, if you want to take another look at that. ...
4 years, 10 months ago (2016-02-17 20:13:24 UTC) #9
Jennifer Messerly
4 years, 10 months ago (2016-02-17 20:14:28 UTC) #11
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
acc95d319573ec19c6cb60ce514182fd746b1972 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698