mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-20 01:41:44 +03:00
6d946fed7f
If we never evaluate under Delay at all, we won't inline interface methods, which means productive things defined in an interface can never be today. So, make sure to set the tcinline flag before quoting the Delayed closure.
9 lines
370 B
Plaintext
9 lines
370 B
Plaintext
1/1: Building Total (Total.idr)
|
|
Main> Main.count is total
|
|
Main> Main.badCount is possibly not terminating due to recursive path Main.badCount
|
|
Main> Main.process is total
|
|
Main> Main.badProcess is possibly not terminating due to recursive path Main.badProcess -> Main.badProcess -> Main.badProcess
|
|
Main> Main.doubleInt is total
|
|
Main> Main.main is total
|
|
Main> Bye for now!
|