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

Issue 1899873003: Support for type inference of top-level function invocations. (Closed)

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

Description

Support for type inference of top-level function invocations. R=paulberry@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/9ec591573ac687afce5e23b9b0a5924bfa5f9cf8

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -55 lines) Patch
M pkg/analyzer/lib/src/summary/link.dart View 23 chunks +94 lines, -34 lines 2 comments Download
M pkg/analyzer/test/src/summary/resynthesize_ast_test.dart View 4 chunks +40 lines, -21 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
scheglov
4 years, 8 months ago (2016-04-18 19:49:32 UTC) #1
Paul Berry
lgtm assuming the issue below is addressed. https://codereview.chromium.org/1899873003/diff/1/pkg/analyzer/lib/src/summary/link.dart File pkg/analyzer/lib/src/summary/link.dart (right): https://codereview.chromium.org/1899873003/diff/1/pkg/analyzer/lib/src/summary/link.dart#newcode709 pkg/analyzer/lib/src/summary/link.dart:709: for (UnlinkedExecutable ...
4 years, 8 months ago (2016-04-18 20:08:27 UTC) #2
scheglov
Committed patchset #1 (id:1) manually as 9ec591573ac687afce5e23b9b0a5924bfa5f9cf8 (presubmit successful).
4 years, 8 months ago (2016-04-18 20:24:10 UTC) #4
scheglov
4 years, 8 months ago (2016-04-18 20:24:34 UTC) #5
Message was sent while issue was closed.
https://codereview.chromium.org/1899873003/diff/1/pkg/analyzer/lib/src/summar...
File pkg/analyzer/lib/src/summary/link.dart (right):

https://codereview.chromium.org/1899873003/diff/1/pkg/analyzer/lib/src/summar...
pkg/analyzer/lib/src/summary/link.dart:709: for (UnlinkedExecutable executable
in _unlinkedUnit.executables) {
On 2016/04/18 20:08:27, Paul Berry wrote:
> Is CompilationUnitElement.functions supposed to return all executables
> (functions, getters, and setters), or just functions?  I thought it was just
> functions.
> 
> Assuming I'm remembering right, we'll need an "if" test here to make sure we
> only add top level functions to the list.

You're right.
Done.

Powered by Google App Engine
This is Rietveld 408576698