public inbox for ~johnnyrichard/olang-devel@lists.sr.ht
 help / color / mirror / code / Atom feed
8e139466bed52369d34c8b28657babbf5f2c3b62 blob 267 bytes (raw)

1
2
3
4
5
6
7
8
 
# spec: An invalid program with no open curly brackets
fn main(): u32
  return 0
}
# compiler_exit: 1
# compiler_output: ./tests/0005_fn_without_open_curly_brackets.ol:3:3: error: got 'return' token but expect <{>
# compiler_output:   return 0
# compiler_output:   ^
debug log:

solving 8e13946 ...
found 8e13946 in http://lists.johnnyrichard.com/olang/20240512143033.229961-4-carlos@maniero.me/

applying [1/1] http://lists.johnnyrichard.com/olang/20240512143033.229961-4-carlos@maniero.me/
diff --git a/tests/integration/tests/0005_fn_without_open_curly_brackets.ol b/tests/integration/tests/0005_fn_without_open_curly_brackets.ol
new file mode 100644
index 0000000..8e13946

Checking patch tests/integration/tests/0005_fn_without_open_curly_brackets.ol...
Applied patch tests/integration/tests/0005_fn_without_open_curly_brackets.ol cleanly.

index at:
100644 8e139466bed52369d34c8b28657babbf5f2c3b62	tests/integration/tests/0005_fn_without_open_curly_brackets.ol

Code repositories for project(s) associated with this public inbox

	https://git.johnnyrichard.com/olang.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox