1
1
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:
Rob Rix 2018-12-13 11:07:18 -05:00
parent a8e1bbb5f6
commit 6f25df9080

View File

@ -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"