Files
sdk/pkg
Paul Berry 8f1ca007f2 Fix type inference for const expressions.
The inferred types for const expressions shouldn't refer to type
variables that are in scope, because at runtime those type variables
may take on different values at different times (meaning the const
expression isn't actually const after all).

Test cases are in inference_new, since analyzer implements incorrect
behavior.

Fixes #30677.

Change-Id: I27b9a95a92557ad1ce1c2c0f28d9a760c372d52a
Reviewed-on: https://dart-review.googlesource.com/5298
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2017-09-12 21:43:49 +00:00
..
2017-08-02 13:45:45 -07:00
2017-07-19 14:30:47 -07:00
2017-06-24 13:41:39 +02:00
2017-09-12 20:16:12 +00:00