Skip to content

eval throws an exception when receiving non-compilable values #1336

@chrisrink10

Description

@chrisrink10
basilisp.user=> (eval (fn [x] x))

  exception: <class 'basilisp.lang.compiler.exception.CompilerException'>
      phase: :analyzing
    message: Unexpected form type <class 'function'>
       form: <function __lisp_fn_116 at 0x10c205b20>
   location: <Eval Input>:NO_SOURCE_LINE

Surfaced originally in jank-lang/clojure-test-suite#868

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions