syntax: back to -> for return type, no more =>

This commit is contained in:
Andrew Kelley
2016-01-25 17:06:19 -07:00
parent fb85d3a0a2
commit 50854226a6
14 changed files with 180 additions and 180 deletions

View File

@@ -1,10 +1,10 @@
#version("2.0.0")
export library "mathtest";
export fn add(a: i32, b: i32) i32 => {
export fn add(a: i32, b: i32) -> i32 {
a + b
}
export fn hang() unreachable => {
export fn hang() -> unreachable {
while (true) { }
}