Skip to content

Commit

Permalink
warning police
Browse files Browse the repository at this point in the history
  • Loading branch information
robdockins committed Jun 15, 2021
1 parent 9a46e6d commit 55e3eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SAWScript/Value.hs
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ evaluate sc t =
evaluateTypedTerm :: SharedContext -> TypedTerm -> IO C.Value
evaluateTypedTerm sc (TypedTerm (TypedTermSchema schema) trm) =
C.runEval mempty . exportValueWithSchema schema =<< evaluate sc trm
evaluateTypedTerm sc (TypedTerm tp _) =
evaluateTypedTerm _sc (TypedTerm tp _) =
fail $ unlines [ "Could not evaluate term with type"
, show (CMS.ppTypedTermType tp)
]
Expand Down

0 comments on commit 55e3eb1

Please sign in to comment.