Open erniecohen opened 2 months ago
4.8.0 (nightly 9/6)
datatype F<T> = F(t:T) { static function ctor(t:T):F<T> { F(t) } }
Dafny.dll run -t:rs test.dfy
(0,-1): Error: Microsoft.Dafny.UnsupportedInvalidOperationException: Static functions with type arguments
Mac
Thanks for the report. There are several gaps like this since the Rust backend is not yet complete, but this may be easy to address. @MikaelMayer?
Dafny version
4.8.0 (nightly 9/6)
Code to produce this issue
Command to run and resulting output
What happened?
(0,-1): Error: Microsoft.Dafny.UnsupportedInvalidOperationException: Static functions with type arguments
What type of operating system are you experiencing the problem on?
Mac