1
1
mirror of https://github.com/idris-lang/Idris2.git synced 2025-01-01 16:12:26 +03:00
Idris2/tests/idris2/namespace002/Issue1313.idr
Guillaume ALLAIS 4a9f00078a [ close ] test case
This was fixed by, I believe, the addition of `withExtendedNS` in 
2021-08-20 16:47:59 +01:00

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