You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the following code, I would expect there to be an unsolved meta for x in 0-to-ω's rhs, but it is accepted in 2.6.1.2 and in current master.
data_≡⁰_ {A :Set} (@0 x : A) : @0 A →Setwhere refl : x ≡⁰ x
data_≡ʷ_ {A :Set} (@ω x : A) : @ω A →Setwhere refl : x ≡ʷ x
0-to-ω :∀ {A} {@0 x y : A} → x ≡⁰ y → x ≡ʷ y
0-to-ω refl = refl
-- rejected if hidden args are given explicitly,-- which is what I was expecting-- 0-to-ω {x = x} refl = refl {x = {!x!}}
If I remember correctly, constructors don't actually contain the datatype's parameters, which I suppose is probably why this happens? (Changing the x parameters to indices results in the unsolved meta in 0-to-ω that I was expecting.) But either way it seems strange that one clause is accepted and the other isn't.
Sorry if this is a duplicate of 4727, or if I am misunderstanding something and it's not a bug at all.
The text was updated successfully, but these errors were encountered:
In the following code, I would expect there to be an unsolved meta for
x
in0-to-ω
's rhs, but it is accepted in 2.6.1.2 and in currentmaster
.If I remember correctly, constructors don't actually contain the datatype's parameters, which I suppose is probably why this happens? (Changing the
x
parameters to indices results in the unsolved meta in0-to-ω
that I was expecting.) But either way it seems strange that one clause is accepted and the other isn't.Sorry if this is a duplicate of 4727, or if I am misunderstanding something and it's not a bug at all.
The text was updated successfully, but these errors were encountered: