Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile-space! hard-errors, crashes repl #178

Open
AdrickTench opened this issue Nov 1, 2024 · 1 comment
Open

compile-space! hard-errors, crashes repl #178

AdrickTench opened this issue Nov 1, 2024 · 1 comment
Labels
bug Issues that represent errors in the code transpiler Pertains to compiler/transpiler issues
Milestone

Comments

@AdrickTench
Copy link
Collaborator

compile-space! crashes the repl with an existence error:

metta+>!(compile-space! &self)


(= (error  (existence_error  procedure (/  function_arity 3)) (context  (:  $apply (/  forall 2)) $_10206))
  (compile-space!  &self))

This may be related to #177

@AdrickTench AdrickTench added the bug Issues that represent errors in the code label Nov 1, 2024
@AdrickTench
Copy link
Collaborator Author

Huh, compile! is hard-erroring too. I could have sworn this worked last week:

metta+>(: foo (-> Number Number))
metta+>(= (foo $x) (+ $x 1))
metta+>!(compile! foo)


(= (error  (existence_error  procedure (/  compile_metta_defn 6)) (context  (:  $apply (/  forall 2)) $_4798))
  (compile!  foo))

@TeamSPoon TeamSPoon added this to the Month 4 of 5 milestone Nov 11, 2024
@TeamSPoon TeamSPoon added good first issue Good for newcomers transpiler Pertains to compiler/transpiler issues and removed good first issue Good for newcomers labels Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that represent errors in the code transpiler Pertains to compiler/transpiler issues
Projects
None yet
Development

No branches or pull requests

2 participants