1
0
Fork 0
forked from fun/fun

Added backtrace via --trace option and a lot more helpful information for debugging. (0.22.0)

This commit is contained in:
Johannes Findeisen 2025-10-04 17:03:41 +02:00
commit bd51aea318
8 changed files with 129 additions and 11 deletions

15
examples/fail.fun Executable file
View file

@ -0,0 +1,15 @@
#!/usr/bin/env fun
/*
* This file is part of the Fun programming language.
* https://hanez.org/project/fun/
*
* Copyright 2025 Johannes Findeisen <you@hanez.org>
* Licensed under the terms of the Apache-2.0 license.
* https://opensource.org/license/apache-2-0
*
* Added: 2025-10-04
*/
// intentionally wrong: call an integer as a function to trigger a runtime error
1()