mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 12:14:26 +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
|