Idris2/tests/idris2/basic048/Module'.idr
Denis Buzdalov 9990b5ad29 Namespaces were shadowed in all standard codegens.
This allows, for exmaple, to have apostrophes in module names.
Test was added only for chez, however this should be viable for all
targets with `:exec` implemented.
2020-11-26 11:17:36 +00:00

8 lines
109 B
Idris

module Module'
function' : Int -> Int
function' x = x + 1
main : IO ()
main = printLn . show $ function' 4