ernie cohen

Results 10 issues of ernie cohen

Users who actually try the examples in VS Code will be confused when a comment disagrees with what they see when they hover. I think the first such example is...

### Dafny version 4.6.0 (nightly 4/17) ### Code to produce this issue ```dafny trait Ins { function step(s:State):State //requires safe?(s) } type Code = seq datatype State = S( clock:nat...

kind: bug
part: resolver
crash
priority: next
during 2: compilation of correct program

### Dafny version 4.5.0, 4.6.0, nightly ### Code to produce this issue ```dafny abstract module A { function F(x: int): (r: int) ensures r > x } module B refines...

kind: bug
lang: java
part: resolver
area: refinement
priority: next
during 2: compilation of correct program

### Dafny version nightly 4/25/24 ### Code to produce this issue ```dafny newtype V = bv64 trait Op { //function op(t:T):T // no problem with this function op2(t0:T,t1:T):T // this...

kind: bug
lang: java
part: resolver
priority: next
during 2: compilation of correct program

### Dafny version nightly (4.6, 4/25) ### Code to produce this issue ```dafny datatype S = S( n:nat ) { function f():S { this } function g():S { this.(n :=...

kind: bug
part: resolver
priority: next
during 2: compilation of correct program

Failing code ------------ ``` newtype T = nat { static const C := 0 as T const V:bool := match this case C => true } ``` Steps to reproduce...

kind: bug
during 2: compilation of correct program

### Dafny version 4.6 ### Code to produce this issue ```dafny newtype T = bv1 { static const c := 0 as T } const c := T.c ``` ###...

kind: bug
part: resolver
during 2: compilation of correct program

Failing code ------------ ```dafny datatype D = D function f(d:D):bool { assert true by { match d { case _ => assert true; } } true } ``` Steps to...

### Dafny version 4.7.0 ### Code to produce this issue ```dafny module Ma { trait {:termination false} A { ghost predicate has(d:int,b:bool) decreases this ghost predicate p(d:int) { forall b...

kind: bug

### Dafny version 4.8.0 (nightly 9/6) ### Code to produce this issue ```dafny datatype F = F(t:T) { static function ctor(t:T):F { F(t) } } ``` ### Command to run...

kind: bug
lang: rust