diff options
Diffstat (limited to 'Omni')
| -rwxr-xr-x | Omni/Ide/typecheck.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Omni/Ide/typecheck.sh b/Omni/Ide/typecheck.sh index 0d9648d..fe11ef5 100755 --- a/Omni/Ide/typecheck.sh +++ b/Omni/Ide/typecheck.sh @@ -25,11 +25,9 @@ case "$ext" in repl.sh --cmd "python -m mypy $target" "$target" ;; hs) - # Haskell: use ghc -fno-code - # This would need the right environment from repl.sh - echo "Haskell typechecking not yet implemented in typecheck.sh" - echo "Use 'bild $target' to build and typecheck" - exit 1 + # Haskell: use ghc -fno-code for typechecking without code generation + # Use repl.sh to provision the right GHC environment with dependencies + repl.sh --cmd "ghc -fno-code -i${CODEROOT:?} $target" "$target" ;; *) echo "Unknown file extension: $ext" |
