Akuli / jou

Yet another programming language
MIT License
11 stars 4 forks source link

strange error #342

Closed littlewhitecloud closed 1 year ago

littlewhitecloud commented 1 year ago

image


compiler error in file "self_hosted/create_llvm_ir.jou", line 573: method do_pass() takes 0 arguments, but it was called with 0 arguments
mingw32-make: *** [Makefile.windows:34: self_hosted_compiler.exe] Error 1
Akuli commented 1 year ago

Duplicate of #275. You most likely forgot to use self when defining the method: def do_pass() should be def do_pass(self).

Akuli commented 1 year ago

Also, I'm glad you're finally able to work on the self-hosted compiler now! :tada: Sorry that it took so long for me to make something that actually works for you.

littlewhitecloud commented 1 year ago

thx