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

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

solving d43c9f9 ...
found d43c9f9 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/0006_fn_without_close_curly_brackets.ol b/tests/integration/tests/0006_fn_without_close_curly_brackets.ol
new file mode 100644
index 0000000..d43c9f9

1:12: trailing whitespace.
# compiler_output: 
Checking patch tests/integration/tests/0006_fn_without_close_curly_brackets.ol...
Applied patch tests/integration/tests/0006_fn_without_close_curly_brackets.ol cleanly.
warning: 1 line adds whitespace errors.

index at:
100644 d43c9f94cbc87aff127e5060ada88d70effacefa	tests/integration/tests/0006_fn_without_close_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