mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 00:10:31 +03:00
4a9f00078a
This was fixed by, I believe, the addition of `withExtendedNS` in #1342
15 lines
133 B
Idris
15 lines
133 B
Idris
namespace X
|
|
|
|
export
|
|
f : Int -> Int
|
|
|
|
namespace Y
|
|
|
|
g : Int -> Int -> Int
|
|
g x y = x + f g
|
|
|
|
namespace X
|
|
|
|
f 5 = 6
|
|
f x = x - 1
|