Skip to content

fennel: evaluating a macro that defines a nested function fails #783

Description

@micampe

I have a fennel buffer with these contents (reduced from a macro in my nvim config):

(macro m []
  (fn f [] 1)
  `1)

(fn []
  (m))

when I evaluate the buffer I get this error in the log:

; eval (buf): 
; [Compile] ...m/site/pack/core/opt/conjure/lua/conjure/nfnl/fennel.lua:1069: attempt to index field 'options' (a nil value)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions