Skip to content

Commit

Permalink
Allow PrimString type in Anoma so that builtin fail is supported
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcadman committed Feb 21, 2024
1 parent ed20e7e commit a3d888d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Juvix/Compiler/Core/Transformation/Check/Anoma.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import Juvix.Compiler.Core.Transformation.Base
import Juvix.Compiler.Core.Transformation.Check.Base

checkAnoma :: forall r. (Member (Error CoreError) r) => Module -> Sem r Module
checkAnoma md =
checkAnoma md = do
checkMainExists md
>> checkNoAxioms md
>> mapAllNodesM checkNoIO md
>> mapAllNodesM (checkBuiltins' [OpStrConcat, OpStrToInt, OpShow] [PrimString]) md
checkNoAxioms md
mapAllNodesM checkNoIO md
mapAllNodesM (checkBuiltins' [OpStrConcat, OpStrToInt, OpShow] []) md

0 comments on commit a3d888d

Please sign in to comment.