Chromium Code Reviews
DescriptionAdd tests to validate assumptions made by summaries about type inference.
The summary code assumes that type inference is never done on
initializing formals, constructor parameters, parameters of static
methods, or parameters of top level functions. This CL adds tests
that will fail if strong mode ever starts inferring parameter types
from default parameters, rendering these assumptions wrong.
R=scheglov@google.com
Committed: https://github.com/dart-lang/sdk/commit/b5b7a7618cc277e59678301585cb9e507634ae46
Patch Set 1 #
Messages
Total messages: 5 (2 generated)
|
|||||||||||||||||||