move metas inside core #lang module
parent
a3b2b8b069
commit
0dfe536350
@ -0,0 +1,10 @@
|
|||||||
|
#lang racket
|
||||||
|
|
||||||
|
;; check that a `define-meta` is immediately available
|
||||||
|
(module metatest pollen
|
||||||
|
(define-meta key "value")
|
||||||
|
(define val (hash-ref metas 'key))
|
||||||
|
(provide val))
|
||||||
|
|
||||||
|
(require rackunit 'metatest)
|
||||||
|
(check-equal? val "value")
|
Loading…
Reference in New Issue