mustache icon indicating copy to clipboard operation
mustache copied to clipboard

Dart 2 runtime failures in tests

Open keertip opened this issue 6 years ago • 4 comments

Running the tests on VM with --preview-dart-2, see the following failure

type 'List' is not a subtype of type 'List<ParameterMirror>' of 'function result' where... type 'List' is not a subtype of type 'List<ParameterMirror>' of 'function result' where List is from dart:core List is from dart:core ParameterMirror is from dart:mirrors dart:mirrors _LocalMethodMirror.parameters package:mustache/src/renderer.dart 252:50 Renderer._getNamedProperty

keertip avatar May 01 '18 20:05 keertip

/cc @srawlins

keertip avatar May 01 '18 20:05 keertip

I'm looking at this.

srawlins avatar May 02 '18 15:05 srawlins

I think this is just blocked by https://github.com/dart-lang/sdk/issues/32889.

srawlins avatar May 02 '18 17:05 srawlins

Another Dart2 runtime failure in the following location with the latest dev.59 SDK:

file:///Users/isoos/.pub-cache/hosted/pub.dartlang.org/mustache-1.0.0/lib/src/renderer.dart:94:20: Error: The method 'call' isn't defined for the class 'dart.core::Object'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
      value = value(context);

isoos avatar Jun 01 '18 07:06 isoos