mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-19 09:12:34 +03:00
15 lines
319 B
Idris
15 lines
319 B
Idris
module UseMacroWithoutExtension
|
|
|
|
import DeclMacro
|
|
|
|
useMacro : Nat
|
|
useMacro = macroFun 5
|
|
|
|
useMacroCorr : UseMacroWithoutExtension.useMacro = 6
|
|
useMacroCorr = Refl
|
|
|
|
failing "%language ElabReflection not enabled"
|
|
|
|
stillCan'tUseRunElabWithoutExtension : Nat
|
|
stillCan'tUseRunElabWithoutExtension = %runElab justScript 4
|