| Index: frog/value.dart
|
| diff --git a/frog/value.dart b/frog/value.dart
|
| index a6da93135285366d25dd8323ea0aa9a13ccb5d22..58b4c8bf120b675df0501582999af5ed2e365fd6 100644
|
| --- a/frog/value.dart
|
| +++ b/frog/value.dart
|
| @@ -1338,11 +1338,9 @@ class VariableValue extends Value {
|
| // these are not really first class
|
| assert(value === null || !value.isType && !value.isSuper);
|
|
|
| - // Value should've been converted already
|
| - // TODO(jmesserly): should this setter do the conversion?
|
| - // Or maybe we should we have an "assign" method that returns a Value with
|
| - // code to do the assignment?
|
| - assert(value === null || value.staticType == staticType);
|
| + // TODO(jmesserly): should we do convertTo here, so the check doesn't get
|
| + // missed? There are some cases where this assert doesn't hold.
|
| + // assert(value === null || value.staticType == staticType);
|
| }
|
|
|
| static Value _unwrap(Value v) {
|
|
|