Logo
Explore Mail Help
Register Sign In
Mirror/wren
1
0
Fork 1
You've already forked wren
mirror of https://github.com/wren-lang/wren.git synced 2026-01-16 20:28:04 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
debugger
wren/test/meta/eval_compile_error.wren

4 lines
96 B
Plaintext
Raw Permalink Normal View History

Move Meta to a separate module. Also cleaned up some of the code around loading the core module.
2015-10-15 18:08:56 -07:00
import "meta" for Meta
Fix up Meta.eval(_). - Made it use primitives instead of foreign functions. - This fixed an issue where the interpreter loop was running re-entrantly. - Which in turn fixed a GC bug. - Report a runtime error if the argument isn't a string. - Report a runtime error if the source doesn't compile.
2015-04-03 21:22:58 -07:00
Meta.eval("!!") // expect runtime error: Could not compile source code.
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.0 Page: 80ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API