2020-12-03 15:28:20 +03:00
|
|
|
1/1: Building Fld (Fld.idr)
|
2021-05-14 19:35:21 +03:00
|
|
|
Warning: We are about to implicitly bind the following lowercase names.
|
|
|
|
You may be unintentionally shadowing the associated global definitions:
|
|
|
|
a is shadowing Main.R1.R1.a
|
|
|
|
Warning: We are about to implicitly bind the following lowercase names.
|
|
|
|
You may be unintentionally shadowing the associated global definitions:
|
|
|
|
a is shadowing Main.R2.R2.a, Main.R1.R1.a
|
|
|
|
Warning: We are about to implicitly bind the following lowercase names.
|
|
|
|
You may be unintentionally shadowing the associated global definitions:
|
|
|
|
a is shadowing Main.R2.R2.a, Main.R1.R1.a
|
|
|
|
Warning: We are about to implicitly bind the following lowercase names.
|
|
|
|
You may be unintentionally shadowing the associated global definitions:
|
|
|
|
a is shadowing Main.R2.R2.a, Main.R1.R1.a
|
|
|
|
Warning: We are about to implicitly bind the following lowercase names.
|
|
|
|
You may be unintentionally shadowing the associated global definitions:
|
|
|
|
a is shadowing Main.R2.R2.a, Main.R1.R1.a
|
|
|
|
Warning: We are about to implicitly bind the following lowercase names.
|
|
|
|
You may be unintentionally shadowing the associated global definitions:
|
|
|
|
a is shadowing Main.R2.R2.a, Main.R1.R1.a
|
|
|
|
Warning: We are about to implicitly bind the following lowercase names.
|
|
|
|
You may be unintentionally shadowing the associated global definitions:
|
|
|
|
a is shadowing Main.R2.R2.a, Main.R1.R1.a
|
|
|
|
b is shadowing Main.Other.b
|
|
|
|
Warning: We are about to implicitly bind the following lowercase names.
|
|
|
|
You may be unintentionally shadowing the associated global definitions:
|
|
|
|
a is shadowing Main.R2.R2.a, Main.R1.R1.a
|
|
|
|
b is shadowing Main.Other.b
|
|
|
|
Warning: We are about to implicitly bind the following lowercase names.
|
|
|
|
You may be unintentionally shadowing the associated global definitions:
|
|
|
|
a is shadowing Main.R2.R2.a, Main.R1.R1.a
|
|
|
|
Warning: We are about to implicitly bind the following lowercase names.
|
|
|
|
You may be unintentionally shadowing the associated global definitions:
|
|
|
|
a is shadowing Main.R2.R2.a, Main.R1.R1.a
|
|
|
|
Warning: We are about to implicitly bind the following lowercase names.
|
|
|
|
You may be unintentionally shadowing the associated global definitions:
|
|
|
|
a is shadowing Main.R2.R2.a, Main.R1.R1.a
|
|
|
|
Warning: We are about to implicitly bind the following lowercase names.
|
|
|
|
You may be unintentionally shadowing the associated global definitions:
|
|
|
|
a is shadowing Main.R2.R2.a, Main.R1.R1.a
|
|
|
|
Warning: We are about to implicitly bind the following lowercase names.
|
|
|
|
You may be unintentionally shadowing the associated global definitions:
|
|
|
|
a is shadowing Main.R2.R2.a, Main.R1.R1.a
|
2020-12-03 15:28:20 +03:00
|
|
|
Error: While processing right hand side of r2_shouldNotTypecheck1. Ambiguous elaboration. Possible results:
|
|
|
|
Main.R2.MkR
|
|
|
|
Main.R1.MkR Type
|
|
|
|
|
2021-06-05 14:53:22 +03:00
|
|
|
Fld:72:26--72:29
|
2021-02-11 20:24:26 +03:00
|
|
|
68 | r1 : R1 -- explicit fields access
|
|
|
|
69 | r1 = MkR {field = "string"}
|
|
|
|
70 |
|
|
|
|
71 | r2_shouldNotTypecheck1 : ?
|
2020-12-03 15:28:20 +03:00
|
|
|
72 | r2_shouldNotTypecheck1 = MkR {field = the Nat 22} -- fail, impossible to disambiguate
|
2021-02-11 20:24:26 +03:00
|
|
|
^^^
|
2020-12-03 15:28:20 +03:00
|
|
|
|
|
|
|
Main> Main.myDog : OrdinaryDog
|
|
|
|
Main> Main.mySuperDog : SuperDog
|
|
|
|
Main> Main.other : Other String
|
2021-09-19 13:33:48 +03:00
|
|
|
Main> 1 hole: Main.r2_shouldNotTypecheck1 : ?_ [no locals in scope]
|
2020-12-03 15:28:20 +03:00
|
|
|
Main> Bye for now!
|