dart-lang/path

Error: The method 'retype' isn't defined for the class Set<String>

Closed this issue · 2 comments

Environment

Dart VM version: 2.0.0-dev.62.0 (Wed Jun 13 16:50:22 2018 +0200) on "macos_x64"

Steps to reproduce

> git clone https://github.com/dart-lang/site-webdev.git
> cd site-webdev
> pub upgrade
...
Precompiling executables...
Failed to precompile test:test:
file:///Users/chalin/.pub-cache/hosted/pub.dartlang.org/path-1.6.0/lib/src/path_set.dart:76:32: Error: The method 'retype' isn't defined for the class 'dart.core::Set<dart.core::String>'.
Try correcting the name to the name of an existing method, or defining a method named 'retype'.
  Set<T> retype<T>() => _inner.retype<T>();
                               ^

cc @kwalrath @kevmoo

#42 😄

Fixed by #42