Files
sdk/pkg
Kevin Millikin 2b23fa0607 Improve the way we call inferExpression
This function took a boolean flag typeNeeded and then it had an early
exit guarded by the condition (!typeNeeded && isTopLevel).  That is, a
false value for typeNeeded was just ignored when isTopLevel was false.

Change it so the early exit is only guarded by the value of the
argument, and ensure that the intended value is passed at all the call
sites.  This makes it easier to see under which conditions we are and
are not peforming type inference.

This is a prelimary step to simply not performing any inference when
we don't intend to perform any inference.

Change-Id: Ibe2260aa4967250afb8b23899216ae32c5321183
Reviewed-on: https://dart-review.googlesource.com/c/80667
Commit-Queue: Kevin Millikin <kmillikin@google.com>
Reviewed-by: Peter von der Ahé <ahe@google.com>
2018-10-19 09:28:38 +00:00
..
2018-10-19 02:37:49 +00:00
2018-10-10 19:15:30 +00:00
2018-07-18 21:36:10 +00:00
2018-10-16 16:12:38 +00:00
2018-10-16 16:12:38 +00:00
2018-07-23 16:44:39 +00:00
2018-09-27 13:08:47 +00:00