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

Issue 1309243007: Stop propagating return types for top-level function declarations (Closed)

Created:
5 years, 3 months ago by Brian Wilkerson
Modified:
5 years, 3 months ago
Reviewers:
Paul Berry, scheglov
CC:
reviews_dartlang.org, Leaf
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Stop propagating return types for top-level function declarations R=paulberry@google.com, scheglov@google.com Committed: https://github.com/dart-lang/sdk/commit/5efe30d4582b25f99fa0aee52abe11bc9b3660ff

Patch Set 1 #

Patch Set 2 : Added test of function expression propagation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -67 lines) Patch
M pkg/analyzer/lib/src/generated/static_type_analyzer.dart View 1 chunk +3 lines, -1 line 0 comments Download
M pkg/analyzer/test/generated/incremental_resolver_test.dart View 1 1 chunk +35 lines, -0 lines 0 comments Download
M pkg/analyzer/test/generated/resolver_test.dart View 1 chunk +0 lines, -66 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Brian Wilkerson
5 years, 3 months ago (2015-09-08 18:21:01 UTC) #2
scheglov
LGTM, but I wonder whether return type is still propagated in closures. What type has ...
5 years, 3 months ago (2015-09-08 18:26:12 UTC) #3
Paul Berry
Assuming Konstantin's concern is addressed, lgtm.
5 years, 3 months ago (2015-09-08 19:55:08 UTC) #4
Brian Wilkerson
I added the test case, and the test passed. I've uploaded the test so you ...
5 years, 3 months ago (2015-09-08 20:14:28 UTC) #5
Brian Wilkerson
5 years, 3 months ago (2015-09-08 20:14:41 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
5efe30d4582b25f99fa0aee52abe11bc9b3660ff (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698