Chromium Code Reviews
DescriptionTrack types for arguments passed to calls to static functions
This uses the same mechanism as is currently used for tracking the types of
arguments passed to non-static functions. The type collection has been
refactored to support both.
For static functions the type information for a function is invalidated if
the function is used for anything else than a direct call.
The test LibTest/core/int/operator_truncating_division_A01_t01 now has
the "problem" that the statement
Expect.isTrue(actual is int);
never fails even though actual might not be an int in the generated JavaScript
even though the inferred type for actual is int.
R=floitsch@google.com, kasperl@google.com
Committed: https://code.google.com/p/dart/source/detail?r=10726
Patch Set 1 #
Total comments: 18
Messages
Total messages: 3 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||