mirror of
https://github.com/github/semantic.git
synced 2024-11-29 11:02:26 +03:00
🔥 reference to the Symbol constructor.
This commit is contained in:
parent
a8e1bbb5f6
commit
6f25df9080
@ -116,5 +116,5 @@ instance FreeVariables SpecEff where freeVariables _ = lowerBound
|
||||
instance Declarations SpecEff where
|
||||
declaredName eff =
|
||||
case unsafePerformIO (evaluate (runSpecEff eff)) of
|
||||
(_, (_, (_, Right (Value.Symbol text)))) -> Just (SpecHelpers.name text)
|
||||
(_, (_, (_, Right (Value.String text)))) -> Just (SpecHelpers.name text)
|
||||
_ -> error "declaredName for SpecEff should return an RVal"
|
||||
|
Loading…
Reference in New Issue
Block a user