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
open FStar.Seq
val append : #a:eqtype -> s1:seq a → s2:seq a → Tot (seq a)
val (+++) : #a:eqtype -> s1:seq a → s2:seq a → Tot (seq a)
val (++) : #a:eqtype -> s1:seq a → s2:seq a → Tot (seq a)
val foo: nat -> nat
InfixBug.fst
module InfixBug
open FStar.Seq
let append (#a:eqtype) (s1:seq a) (s2:seq a) : Tot (seq a)
= s1
let (+++) a b = append
let (++) = append
// Error 233 at src/fstar/fst/InfixBug.fst(12,0-12,19):
// - Expected the definition of op_Plus_Plus to precede [foo]
let foo (n:nat) = n
Not very important bug though.
The text was updated successfully, but these errors were encountered:
InfixBug.fsti
module InfixBug
open FStar.Seq
val append : #a:eqtype -> s1:seq a → s2:seq a → Tot (seq a)
val (+++) : #a:eqtype -> s1:seq a → s2:seq a → Tot (seq a)
val (++) : #a:eqtype -> s1:seq a → s2:seq a → Tot (seq a)
val foo: nat -> nat
InfixBug.fst
module InfixBug
open FStar.Seq
let append (#a:eqtype) (s1:seq a) (s2:seq a) : Tot (seq a)
= s1
let (+++) a b = append
let (++) = append
// Error 233 at src/fstar/fst/InfixBug.fst(12,0-12,19):
// - Expected the definition of op_Plus_Plus to precede [foo]
let foo (n:nat) = n
Not very important bug though.
The text was updated successfully, but these errors were encountered: