Skip to content

Instantly share code, notes, and snippets.

@purefn
Created January 7, 2015 19:42
Show Gist options
  • Select an option

  • Save purefn/c229586b3cfdac820e8d to your computer and use it in GitHub Desktop.

Select an option

Save purefn/c229586b3cfdac820e8d to your computer and use it in GitHub Desktop.
"/nix/store/scmw1wyn1cgi68ymk0cdjq4zjhba2b0r-ghc-7.8.3-binary/bin/ghc" -hisuf hi -osuf o -hcsuf hc -static -H32m -O -package-db libraries/bootstrapping.conf -i -iutils/genprimopcode/. -iutils/genprimopcode/dist/build -iutils/genprimopcode/dist/build/autogen -Iutils/genprimopcode/dist/build -Iutils/genprimopcode/dist/build/autogen -package array -no-user-package-db -rtsopts -odir utils/genprimopcode/dist/build -hidir utils/genprimopcode/dist/build -stubdir utils/genprimopcode/dist/build -c utils/genprimopcode/./Lexer.hs -o utils/genprimopcode/dist/build/Lexer.o
building utils/genprimopcode/dist/build/Syntax.hi
building utils/genapply/dist/build/.depend.c_asm
utils/genprimopcode/Lexer.hs:311:41:
Couldn't match expected type ‘[Char]’ with actual type ‘Int#’
In the first argument of ‘(>=)’, namely ‘offset’
In the expression: (offset >= "0#")
utils/genprimopcode/Lexer.hs:311:41:
Couldn't match expected type ‘Int#’ with actual type ‘Bool’
In the expression: (offset >= "0#")
In the first argument of ‘(&&)’, namely
‘(tagToEnum# (offset >= "0#"))’
In the expression:
(tagToEnum# (offset >= "0#")) && (tagToEnum# (check == "ord_c"))
utils/genprimopcode/Lexer.hs:311:73:
Couldn't match expected type ‘[Char]’ with actual type ‘Int#’
In the first argument of ‘(==)’, namely ‘check’
In the expression: (check == "ord_c")
utils/genprimopcode/Lexer.hs:311:73:
Couldn't match expected type ‘Int#’ with actual type ‘Bool’
In the expression: (check == "ord_c")
In the second argument of ‘(&&)’, namely
‘(tagToEnum# (check == "ord_c"))’
In the expression:
(tagToEnum# (offset >= "0#")) && (tagToEnum# (check == "ord_c"))
make[1]: *** [utils/genprimopcode/dist/build/Lexer.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment