mirror of
https://github.com/kanaka/mal.git
synced 2024-09-19 17:47:53 +03:00
bbc-basic: Allow metadata on non-function types.
This is currently broken, but it passes all the tests, so I'll need some better tests.
This commit is contained in:
parent
05628a32d8
commit
9386894d6a
@ -241,11 +241,11 @@ DEF FNcore_call(fn%, args%)
|
||||
=FNalloc_string(arg$)
|
||||
DATA meta, 52
|
||||
WHEN 52
|
||||
PROCcore_prepare_args("f", "meta")
|
||||
PROCcore_prepare_args("?", "meta")
|
||||
=FNmeta(args%(0))
|
||||
DATA with-meta, 53
|
||||
WHEN 53
|
||||
PROCcore_prepare_args("f?", "with-meta")
|
||||
PROCcore_prepare_args("??", "with-meta")
|
||||
=FNwith_meta(args%(0), args%(1))
|
||||
DATA time-ms, 54
|
||||
WHEN 54
|
||||
|
Loading…
Reference in New Issue
Block a user