Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 72b04d7

Browse files
committed
bring this Go assignment back
1 parent 237c4d6 commit 72b04d7

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/Language/Go/Assignment.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ floatLiteral :: Assignment Term
262262
floatLiteral = makeTerm <$> symbol FloatLiteral <*> (Literal.Float <$> source)
263263

264264
identifier :: Assignment Term
265-
identifier = makeTerm <$> symbol Identifier <*> (Syntax.Identifier . name <$> source)
265+
identifier = makeTerm <$> (symbol Identifier <|> symbol Identifier' <|> symbol Identifier'') <*> (Syntax.Identifier . name <$> source)
266266

267267
imaginaryLiteral :: Assignment Term
268268
imaginaryLiteral = makeTerm <$> symbol ImaginaryLiteral <*> (Literal.Complex <$> source)

src/Language/TSX/Syntax/JSX.hs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,11 @@ module Language.TSX.Syntax.JSX where
44

55
import Prologue
66

7-
import Control.Abstract as Abstract
87
import Data.Abstract.Evaluatable
9-
import Data.Abstract.ScopeGraph (AccessControl(..))
108
import Data.JSON.Fields
119
import qualified Data.Text as T
1210
import Diffing.Algorithm
13-
import qualified Data.Map.Strict as Map
14-
import qualified Data.Abstract.ScopeGraph as ScopeGraph
11+
1512

1613
data JsxElement a = JsxElement { jsxOpeningElement :: !a, jsxElements :: ![a], jsxClosingElement :: !a }
1714
deriving (Declarations1, Diffable, Eq, Foldable, FreeVariables1, Functor, Generic1, Hashable1, NFData1, Ord, Show, ToJSONFields1, Traversable)

0 commit comments

Comments
 (0)