Idris2/tests/idris2/reflection/reflection026/Issue3168.idr
2023-12-21 17:30:57 +01:00

16 lines
305 B
Idris

import Language.Reflection
%language ElabReflection
data_decl : List Decl
data_decl = `[data T = A | B]
record_decl : List Decl
record_decl = `[record R where]
data_decl' : List Decl
data_decl' = `[public export data T = A | B]
record_decl' : List Decl
record_decl' = `[public export record R where]