From 335aa1bfca4ef061cd2b3c7e3df2c4c777e43a8a Mon Sep 17 00:00:00 2001 From: Jeremie Gillet Date: Sat, 9 Dec 2023 11:14:58 +0900 Subject: [PATCH] fix elm-review errors --- src/Tags.elm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Tags.elm b/src/Tags.elm index 0dc04d1..3fe6f2e 100644 --- a/src/Tags.elm +++ b/src/Tags.elm @@ -5,7 +5,6 @@ import Elm.Syntax.Expression exposing (Expression(..), FunctionImplementation, L import Elm.Syntax.Module exposing (Module) import Elm.Syntax.Node as Node exposing (Node(..)) import Elm.Syntax.Type exposing (Type) -import Elm.Syntax.TypeAnnotation exposing (TypeAnnotation(..)) import ElmSyntaxHelpers import Json.Encode as Encode exposing (Value) import Review.ModuleNameLookupTable as LookupTable exposing (ModuleNameLookupTable) @@ -354,7 +353,7 @@ matchExpression (Node _ expression) = Set.fromList [ "construct:set", "technique:immutable-collection", "technique:sorted-collection" ] FunctionOrValue [ "Time" ] _ -> - Set.fromList [ "construct:date-time" ] + Set.singleton "construct:date-time" FunctionOrValue [ "Dict" ] _ -> Set.fromList [ "construct:dictionary", "technique:immutable-collection", "technique:sorted-collection" ]