From d155f3518e92a1b41122f0f2e3b22572329c35c6 Mon Sep 17 00:00:00 2001 From: Jennifer Thakar Date: Thu, 21 May 2020 13:48:01 -0700 Subject: [PATCH] Fix lints (#1010) --- lib/src/node/value/boolean.dart | 2 +- lib/src/node/value/null.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/node/value/boolean.dart b/lib/src/node/value/boolean.dart index b069913e..d4b800fd 100644 --- a/lib/src/node/value/boolean.dart +++ b/lib/src/node/value/boolean.dart @@ -16,7 +16,7 @@ import '../utils.dart'; /// to have a constructor injected into their inheritance chain so that /// `instanceof` works properly. final Function booleanConstructor = () { - var constructor = allowInterop(([_]) { + var constructor = allowInterop(([dynamic _]) { throw "new sass.types.Boolean() isn't allowed.\n" "Use sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead."; }); diff --git a/lib/src/node/value/null.dart b/lib/src/node/value/null.dart index 97d2fc99..10c28d0b 100644 --- a/lib/src/node/value/null.dart +++ b/lib/src/node/value/null.dart @@ -16,7 +16,7 @@ import '../utils.dart'; /// to have a constructor injected into their inheritance chain so that /// `instanceof` works properly. final Function nullConstructor = () { - var constructor = allowInterop(([_]) { + var constructor = allowInterop(([dynamic _]) { throw "new sass.types.Null() isn't allowed. Use sass.types.Null.NULL " "instead."; });