Descriptionfixes strong mode assignability
this fixes https://github.com/dart-lang/dev_compiler/issues/356
The issue here is that StrongTypeSystemImpl has toType and fromType backwards from how they are defined on the base class.
The way it works is to read it as "is the first type assignable to the second type"?
(I can see how this may have happened: the base class uses "leftType" and "rightType", which refers to the parameter order, not the order they would appear in an assignment expression.)
R=leafp@google.com
Committed: https://github.com/dart-lang/sdk/commit/a8570d9e7cfe2427a2bd99348b9ae8199a5903ff
Patch Set 1 #
Total comments: 1
Messages
Total messages: 5 (1 generated)
|