Chromium Code Reviews
DescriptionAdd strong mode type checking pass.
This is a piece of the upcoming strong mode-based type propagation.
The new type propagator will build its inference graph based on the
subtyping constraints found during type checking.
This type checker is not intended to report type errors to end-users.
In its current form, it is quite redundant with the front end's type
checker, but this will not be the case once we augment kernel's type
system.
The internals of "dart:" libraries are not type checked -- they are
simply assumed to satisfy the type annotations on their interfaces.
BUG=
R=kmillikin@google.com
Committed: https://github.com/dart-lang/kernel/commit/3baff07ec4bc6216947477cba8cce3a355be68b7
Patch Set 1 #Patch Set 2 : Clean up some spurious changes #
Total comments: 8
Patch Set 3 : Address comments #Patch Set 4 : Add testing support for type checker #Patch Set 5 : Update test expectations #
Total comments: 1
Patch Set 6 : Merge with master and remove visitBlockExpression #
Messages
Total messages: 9 (3 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||