Commit Graph

3034 Commits

Author SHA1 Message Date
paulberry@google.com 0457770df5 Don't permit annotations inside variable declarations.
This addresses the root cause of dartbug.com/23176.

BUG=dartbug.com/23204
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1083093002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45165 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-15 13:28:38 +00:00
scheglov@google.com 9cdd2dd31f Issue 23190. Type check with a function type alias is its usage.
R=brianwilkerson@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=23190

Review URL: https://codereview.chromium.org//1081233002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45124 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-14 00:35:56 +00:00
scheglov@google.com af4edb61e7 (belated) Tests for CompilationUnitElement.getElementAt().
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//1081103004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45120 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-13 20:24:16 +00:00
scheglov@google.com 548fcacd52 Issue 23181. Fix for ParameterElement.node.
R=brianwilkerson@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=23181

Review URL: https://codereview.chromium.org//1084643002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45115 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-13 18:00:52 +00:00
scheglov@google.com 688cb9f67a Issue 23155. Don't perform incremental resolution if a constructor initializer is changed.
R=brianwilkerson@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=23155

Review URL: https://codereview.chromium.org//1078953002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45037 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-09 21:17:30 +00:00
danrubel@google.com 6cb49314de (TBR) Fix import parsing
BUG=

Review URL: https://codereview.chromium.org//1072663002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44984 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-08 21:49:27 +00:00
danrubel@google.com a34401414c improve parser recovery for import statements
BUG=dartbug.com/23108
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1068263002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44978 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-08 18:26:00 +00:00
danrubel@google.com faf29a0686 improve parser recovery for import directives
BUG=dartbug.com/23108
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1062343002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44968 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-08 13:37:50 +00:00
paulberry@google.com e0ee1cb68f Rework type assignability, subtype, and "more specific than" checking.
The key change in this CL is to change the technique for avoiding
infinite recursion in the presence of illegal code.  Rather than track
type pairs, we track (a) the function typedef elements that have been
expanded while examining the LHS and RHS, and (b) the class and type
parameter elements that have been visited while exploring the class
hierarchy.  If a function typedef is encountered while expanding
itself, or a class or type parameter element is encountered while
searching its own class hierarchy, then it is skipped.  Since both
class hierarchy loops and self-referential function typedefs are
prohibited by the spec, this ensures that the checks to avoid
recursion will only trigger in the presence of compile errors, so
analyzer will produce correct warnings in the absence of compile
errors.

As a consequence of the new technique, bugs 21912 and 22976 are fixed.

In addition, there are a few other improvements:

- Optional arguments are used to keep track of elements already
  visited, so it's not necessary to have separate functions
  isAssignableTo2, isSubtypeOf2, and isMoreSpecificThan2, nor do we
  need "internal" versions of those functions.

- InterfaceTypeImpl no longer needs a special implementation of
  isSubtypeOf.  It's now implemented in the same way it's defined (in
  terms of isMoreSpecificThan).

- Some flaws were discovered in the co19 tests.  I've filed a co19 bug
  for these, and updated the co19-analyzer2 status file.

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1070443002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44965 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-08 13:00:57 +00:00
scheglov@google.com a5ff948486 Report unused function type aliases.
Plus:
1. Rename some class tests.
2. Tests for enums.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//1066083002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44948 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-07 20:55:57 +00:00
sigmund@google.com 8c4caa642b Changes in analyzer needed for dev_compiler
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1067903002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44945 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-07 20:06:06 +00:00
paulberry@google.com 3234757a4d Remove union type support from analyzer.
This feature was never enabled, never left the experimental stage, and
is getting in the way of other work (e.g. fixing bugs 21912 and
22976).

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1061043002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44930 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-06 22:41:25 +00:00
paulberry@google.com 9efc540b0e Fix tests broken by r44880.
Revision 44880 added an assertion to accompany the internal error
message emitted if Parser._computeStringValue computes nonsensical
string start and end positions, so that those internal errors would be
noticed by the buildbots.  It fixed most of the circumstances in which
the internal error might occur, but it missed a few: if the analyzer
encounters an unterminated string at the end of a line, or an
unterminated multiline string at the end of a file, or a string ending
with an invalid interpolation expression (e.g. "${var x}" or
"$class"), then a token might be generated which the parser thinks is
a complete string, but which consists solely of 1, 3, 4, or 5
consecutive quotes (and thus is an unterminated string), causing
Parser._computeStringValue to get confused and fire the assertion.

This CL addresses those problems by modifying
Parser._computeStringValue to handle those ill-formed tokens.

In a future CL I plan to modify the parser so that invalid
interpolation expressions like "${var x}" and "$class" are recovered
from more gracefully.  But that is a low priority fix, since this CL
is sufficent to prevent the assertion from firing.

BUG=dartbug.com/23100
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1061883002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44914 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-06 16:22:54 +00:00
paulberry@google.com 8ee49e51e0 Fix ill-formatted error messages in analyzer.
Previously, two analyzer error messages (one recently introduced by
me, and one that has been around for a while) failed to provide enough
arguments to populate the error message template, resulting in
user-visible strings like "{0}" showing up in error messages.

This CL fixes the problem, and safeguards against it happening again
in the future by adding assertions to verify, at the time the error
message is formatted, that enough arguments were passed.

R=scheglov@google.com

Review URL: https://codereview.chromium.org//1059263004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44911 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-06 15:28:34 +00:00
paulberry@google.com 635c6a11ec Implement the new '?.' operator in analyzer.
As in r44802, the new operator is only accepted by the tokenizer if
the command-line option "--enable-null-aware-operators" is supplied.
Only static analysis of '?.' is implemented; however, the tests in
tests/language will verify behavior once it is implemented.

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1062723002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44907 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-05 20:59:05 +00:00
paulberry@google.com a1974d61c6 Fix interpretation of string contents after interpolation expressions.
Previously, the logic for skipping the opening quote(s) (and optional
'r') of a string were erroneously being invoked after string
interpolations.  As a result, a string like '${x}"y' was being
interpreted as '${x}y'.  Usually, this had no visible user effect,
because analyzer's interpretation of strings is currently only used
for constant evaluation, and string interpolation is rare in constant
expressions.  However, it was triggering an internal error in the case
where the interpolation is at the end of a multiline string, since it
caused analyzer to compute that the number of characters following the
interpolation was negative.

In addition to fixing the bug, I've modified the logic for logging the
internal error so that it also asserts; this allows the error to be
detected by unit tests.  I've also fixed an off-by-one error in the
internal error logic which had prevented the bug from being noticed on
single-line strings.

BUG=dartbug.com/23046
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1056103002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44880 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-03 15:52:10 +00:00
paulberry@google.com 0e488419b6 Implement the new '??=' operator in analyzer.
As in r44802, the new operator is only accepted by the tokenizer if
the command-line option "--enable-null-aware-operators" is supplied.
Only static analysis of '??=' is implemented; however, the tests in
tests/language will verify behavior once it is implemented.

R=scheglov@google.com

Review URL: https://codereview.chromium.org//1052243002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44873 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-02 20:37:09 +00:00
paulberry@google.com 3e4356f993 Begin making copies of AST nodes for constants during resolution.
The resolver now copies the resolved AST's for the initializers of
constant variable declarations into the element model.  This is a
necessary prerequisite for moving constant evaluation into the new
task model, since in the new task model, the original AST nodes won't
be available at constant evaluation time.

Also, the resolver is now responsible for copying the resolved
initializer lists for constant constructors into the element model.
This was previously done at constant evaluation time, but once again
in the new task model the original AST nodes won't be available at
constant evaluation time.

Since not all constants are guaranteed to have been evaluated at the time
that the resolver makes these copies, we can no longer store the
evaluationResult for an InstanceCreationExpression in its AST node
(it's no longer guaranteed to get copied safely).  So instead, we
store the evaluationResult in an intermediate object called
ConstantInstanceCreationHandle; that way the copied AST node will
point to the same ConstantInstanceCreationHandle as the original AST
node, so once the constant is evaluated, the resulting value will be
accessible from both AST nodes.

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1050203002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44861 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-02 16:35:56 +00:00
scheglov@google.com ee0e4e8c56 Issue 23068. Constructors should have the same const/factory modifiers to match.
R=brianwilkerson@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=23068

Review URL: https://codereview.chromium.org//1053813002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44845 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-01 22:07:54 +00:00
danrubel@google.com dc8e098a5f do not report _ as unused variable
BUG=dartbug.com/23050
R=brianwilkerson@google.com, scheglov@google.com

Review URL: https://codereview.chromium.org//1040083007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44825 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-31 21:56:33 +00:00
danrubel@google.com cb0be1b4cf improve parser recovery when top level function is missing parameters
BUG=dartbug.com/23044
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1044383002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44822 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-31 20:49:19 +00:00
scheglov@google.com 08b2d934ed Issue 19929. Record the propagated type into LHS of the assignment.
This is a fix only for https://code.google.com/p/dart/issues/detail?id=19929#c8 ,
not the whole issue.

R=brianwilkerson@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=19929

Review URL: https://codereview.chromium.org//1049303002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44812 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-31 18:22:40 +00:00
paulberry@google.com 53e52f0a31 Implement the new '??' operator in analyzer.
The new operator is only accepted by the tokenizer if the command-line
option "--enable-null-aware-operators" is supplied.

Only static analysis of '??' is implemented.  However, the tests in
tests/language/if_null_*_test.dart will also verify behavior once it
is implemented.

R=scheglov@google.com

Review URL: https://codereview.chromium.org//1045553002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44802 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-31 12:38:12 +00:00
paulberry@google.com ad0cce176a Avoid infinite loop if const constructor redirects don't reach a fixed point.
BUG=dartbug.com/23038
R=scheglov@google.com

Review URL: https://codereview.chromium.org//1042963002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44789 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-30 21:00:36 +00:00
paulberry@google.com 5677e52ad6 Generate warnings for assignment to a type.
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1042133002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44774 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-30 00:08:17 +00:00
scheglov@google.com 1dc26d9f06 Issue 23018. Fix for inlining multiline strings with leading whitespaces.
R=brianwilkerson@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=23018

Review URL: https://codereview.chromium.org//1042033002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44771 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-28 02:31:07 +00:00
paulberry@google.com 6fe7a1d39b Scanner/parser support for DEP 9 (null-aware operators).
This adds scanner and parser support for the operators '?.', '??', and
'??='.

Support is not yet enabled--it is only turned on during the unit tests
for the new tokens and AST's.

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1043583002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44770 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-28 02:25:32 +00:00
brianwilkerson@google.com e604390ade Gracefully handle IO exceptions while resolving URIs (issue 23023)
R=scheglov@google.com

Review URL: https://codereview.chromium.org//1033383002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44766 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-27 23:52:10 +00:00
danrubel@google.com 8f4ac8f16b improve parser recovery for incomplete prefixed identifier in method/function parameter list
BUG=dartbug.com/22526
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1033333003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44760 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-27 20:05:18 +00:00
scheglov@google.com 7b1edbbdf9 Issue 20144. Reset propagated type if one of the 'if' branches changes it to a different one.
R=brianwilkerson@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=20144

Review URL: https://codereview.chromium.org//1036233006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44754 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-27 19:13:50 +00:00
brianwilkerson@google.com 32688bf728 Fix the value of multiline strings. This re-applies the changes in 44722 (which was reverted in 44734) and fixes another bug that was uncovered by that change.
R=paulberry@google.com

Review URL: https://codereview.chromium.org//1043473002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44752 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-27 18:26:06 +00:00
scheglov@google.com 281f305c90 Issue 22521. Drop '_J2DAccessor' suffixes.
R=brianwilkerson@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=22521

Review URL: https://codereview.chromium.org//1042453003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44745 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-27 16:55:52 +00:00
paulberry@google.com 87171553c9 Rename MethodInvocation.period to MethodInvocation.operator.
The name is inaccurate--if the method invocation is part of a cascade,
it is the ".." operator.  It's going to get even more inaccurate when
null-aware operators are added, since it will also be used to
represent "?.".

Deprecated getters and setters named "period" are added to avoid
breaking the analyzer API.

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1039713002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44744 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-27 16:38:33 +00:00
scheglov@google.com 3899dd2dcd Issue 23010. Compute constant and report related errors during incremental resolution.
R=brianwilkerson@google.com, paulberry@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=23010

Review URL: https://codereview.chromium.org//1037313002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44743 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-27 16:29:03 +00:00
brianwilkerson@google.com c95c8299bc Fix NPE in ErrorReporter (issue 22980)
R=scheglov@google.com

Review URL: https://codereview.chromium.org//1040573002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44739 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-27 15:40:04 +00:00
ricow@google.com 88380d5708 Revert "Fix value computation for multi-line strings (issue 22993)"
This reverts revision 44722

This is causing test failures:
http://build.chromium.org/p/client.dart/builders/pub-linux-be/builds/11761/steps/pub%20and%20pkg%20%20tests%20failures/logs/stdio

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//1038353002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44734 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-27 13:59:13 +00:00
scheglov@google.com ada62d06d1 Rewrite constants evaluation and checks to avoid using 'is double'.
We have 33 hints because of it.

R=brianwilkerson@google.com, paulberry@google.com
BUG=

Review URL: https://codereview.chromium.org//1017573004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44724 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-26 22:45:18 +00:00
paulberry@google.com b073936fd0 Allow "dynamic" as a constant value in analyzer.
BUG=dartbug.com/22989
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1004353006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44723 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-26 21:50:44 +00:00
brianwilkerson@google.com 117ed251cc Fix value computation for multi-line strings (issue 22993)
R=paulberry@google.com

Review URL: https://codereview.chromium.org//1034953002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44722 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-26 21:45:31 +00:00
scheglov@google.com cc1eaee4e2 Issue 22962. Adding/removing method/accessor body is a declartion mismatch.
R=brianwilkerson@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=22962

Review URL: https://codereview.chromium.org//1024553006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44667 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-24 14:52:35 +00:00
paulberry@google.com 79af2ba662 Fix constant evaluation of division.
To be consistent with the VM and dart2js implementations, the
analyzer's constant evaluation of a / b should always yield a double,
even if the arguments are ints.  For example, 300 / 2 = 150.0 and 301
/ 2 = 150.5.

BUG=dartbug.com/22937
R=danrubel@google.com

Review URL: https://codereview.chromium.org//1027453003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44645 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-23 19:36:37 +00:00
scheglov@google.com 5c9110841e Fix hints in the analyzer package.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//1026093002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44639 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-23 17:34:00 +00:00
scheglov@google.com 85db3fbe62 Report separate UNUSED_CATCH_CLAUSE and UNUSED_CATCH_STACK hints.
R=brianwilkerson@google.com, danrubel@google.com
BUG=

Review URL: https://codereview.chromium.org//1020243004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44635 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-23 16:41:20 +00:00
danrubel@google.com d74e115bfc (TBR) fix the build
BUG=

Review URL: https://codereview.chromium.org//1025233002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44627 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-23 04:25:44 +00:00
danrubel@google.com 03cac10578 improve parser recovery of type argument list
BUG=
R=brianwilkerson@google.com, paulberry@google.com

Review URL: https://codereview.chromium.org//1025903002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44626 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-22 18:33:23 +00:00
paulberry@google.com 54e1ea2333 Make helper methods in ParserTestCase non-static.
This will help prepare for work on DEP 9 (null-aware operators) by
allowing parser tests that require null-aware operators to enable them
using an instance variable in ParserTestCase.

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1024313002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44624 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-21 20:55:53 +00:00
paulberry@google.com c16fc96d58 Implement the new definition of flatten() from r44569 in analyzer.
R=scheglov@google.com

Review URL: https://codereview.chromium.org//1023903002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44603 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-20 13:29:05 +00:00
paulberry@google.com 3b8c23ce58 Fix static type analysis of function invocation expressions.
BUG=dartbug.com/22916
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1021773002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44588 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-19 19:39:20 +00:00
scheglov@google.com 505b83a377 Rewrite ImplicitConstructorBuilder to use only element model.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//1022843002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44583 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-19 18:11:33 +00:00
keertip@google.com fe5c9fdfd5 fix for getting node for class element
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1007563003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44539 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-17 17:00:05 +00:00