Idris2/tests/idris2/real002/expected
Mathew Polzin 7b19099763
print location of implicit name shadowing with the warning. (#1968)
* print location of implicit name shadowing with the warning.

* move location output to bottom of warning.
2021-10-03 10:15:01 +01:00

29 lines
1.0 KiB
Plaintext

1/3: Building Control.App (Control/App.idr)
Warning: We are about to implicitly bind the following lowercase names.
You may be unintentionally shadowing the associated global definitions:
any is shadowing Prelude.Interfaces.any
Control.App:143:1--143:12
139 | = \k => MkApp1 (\w => let MkApp1ResW x' w' = fn w
140 | MkApp1 res = k x' in
141 | res w')
142 |
143 | absurdWith1 : (1 w : b) -> OneOf e NoThrow -> any
^^^^^^^^^^^
Warning: We are about to implicitly bind the following lowercase names.
You may be unintentionally shadowing the associated global definitions:
any is shadowing Prelude.Interfaces.any
Control.App:146:1--146:12
142 |
143 | absurdWith1 : (1 w : b) -> OneOf e NoThrow -> any
144 | absurdWith1 w (First p) impossible
145 |
146 | absurdWith2 : (1 x : a) -> (1 w : b) -> OneOf e NoThrow -> any
^^^^^^^^^^^
2/3: Building Control.App.Console (Control/App/Console.idr)
3/3: Building Store (Store.idr)
3/3: Building StoreL (StoreL.idr)