Issue with 1.0.2 on pub.dartlang.org
Closed this issue · 1 comments
ltackmann commented
If one run's the following example
import 'package:sprintf/sprintf.dart';
void main() {
print(sprintf("%04i", [-42]));
print(sprintf("%s %s", ["Hello", "World"]));
print(sprintf("%#04x", [10]));
}
using the latest version 1.0.2 on pub.dartlang.org and the latest DartEditor (Dart SDK version 0.3.5.1_r18300) then it fails with
Unhandled exception:
NoSuchMethodError : method not found: 'RegExp'
Receiver: Type: class 'RegExp'
Arguments: []
#0 PrintFormat.specifier (package:sprintf/src/sprintf_impl.dart:6:45)
#1 PrintFormat.call (package:sprintf/src/sprintf_impl.dart:39:30)
#2 sprintf (package:sprintf/sprintf.dart:16:23)
Naddiseo commented
Fixed in v1.0.3