10 lines
276 B
Plaintext
10 lines
276 B
Plaintext
-- Source-level View Contract diagnostic demo.
|
|
-- Run with: tricu check demos/viewContracts/sourceSyntax/failure.tri
|
|
|
|
makeBool x@String =@Bool x
|
|
|
|
xs =@(List String) [(g "hi")]
|
|
g y@String =@Bool y
|
|
|
|
main = "if you're seeing this instead of an error, you ran the file unchecked"
|