@@ -7,7 +7,6 @@ import 'package:meta/meta.dart';
77import 'callable/async.dart' ;
88import 'callable/built_in.dart' ;
99import 'value.dart' ;
10- import 'value/external/value.dart' as ext;
1110
1211export 'callable/async.dart' ;
1312export 'callable/async_built_in.dart' ;
@@ -67,7 +66,7 @@ export 'callable/user_defined.dart';
6766abstract class Callable extends AsyncCallable {
6867 @Deprecated ('Use `Callable.function` instead.' )
6968 factory Callable (String name, String arguments,
70- ext. Value callback (List <ext. Value > arguments)) =>
69+ Value callback (List <Value > arguments)) =>
7170 Callable .function (name, arguments, callback);
7271
7372 /// Creates a function with the given [name] and [arguments] that runs
@@ -113,7 +112,6 @@ abstract class Callable extends AsyncCallable {
113112 /// which provides access to keyword arguments using
114113 /// [SassArgumentList.keywords] .
115114 factory Callable .function (String name, String arguments,
116- ext.Value callback (List <ext.Value > arguments)) =>
117- BuiltInCallable .function (
118- name, arguments, (arguments) => callback (arguments) as Value );
115+ Value callback (List <Value > arguments)) =>
116+ BuiltInCallable .function (name, arguments, callback);
119117}
0 commit comments