-
-
Couldn't load subscription status.
- Fork 19
Closed
Labels
component:basilisp.coreIssue pertaining to basilisp.core namespaceIssue pertaining to basilisp.core namespaceissue-type:bugSomething isn't workingSomething isn't working
Description
Hi,
there appears to be an issue when trying to macroexpand a defn form with an attr-map? set:
error occurred during macroexpansion: Object of type <class 'basilisp.lang.list.PersistentList'> does not implement IAssociative interface
to reproduce
- Open up the REPL and try to
macroexpandadefnform havingattr-map?set, the above error is raised
> basilisp repl
basilisp.user=> (macroexpand '(defn xyz {:abc true} [] 5))
exception: <class 'TypeError'> from <class 'basilisp.lang.compiler.exception.CompilerException'>
phase: :macroexpansion
message: error occurred during macroexpansion: Object of type <class 'basilisp.lang.list.PersistentList'> does not implement IAssociative interface
form: (defn xyz {:abc true} [] 5)
location: <Macroexpand>:NO_SOURCE_LINEPR to follow.
Metadata
Metadata
Assignees
Labels
component:basilisp.coreIssue pertaining to basilisp.core namespaceIssue pertaining to basilisp.core namespaceissue-type:bugSomething isn't workingSomething isn't working