Files
kraken/tests/syntax_error.krak

35 lines
482 B
Plaintext

import io: something
//comments
fun first(): cutomTye {
}
fun another(): cutomTye<hello, beta>* {
}
fun main():int {
if (true) {
thing;
}
if ( 3 < 300) {
}
if ( 3 > 300) {
}
var hastype: type = 20
thingy.other;
if ( 3 < 300) {
}
io::print("hi")
wanna.callit(internal, to ,it)
var a = 2 + 7;
var b = 2 + 7 / 3 - 2 * 7 && 9 || 2 + !g
return 0
return 11820
return 1.1
return 1.1f
return "hi"
}