This website requires JavaScript.
Explore
Mail
Help
Register
Sign In
Mirror
/
wren
Watch
1
Star
0
Fork
1
You've already forked wren
mirror of
https://github.com/wren-lang/wren.git
synced
2026-01-18 13:49:59 +01:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
edb1f9d37b83a1a1eaafe151723270d1e1bf222e
wren
/
test
/
language
/
function
/
newline_in_expression_block.wren
3 lines
53 B
Plaintext
Raw
Normal View
History
Unescape
Escape
"IO" -> "System". Get rid of the separate opt-in IO class and replace it with a core System class. - Remove wren_io.c, wren_io.h, and io.wren. - Remove the flags that disable it. - Remove the overloads for print() with different arity. (It was an experiment, but I don't think it's that useful.) - Remove IO.read(). That will reappear using libuv in the CLI at some point. - Remove IO.time. Doesn't seem to have been used. - Update all of the tests, docs, etc. I'm sorry for all the breakage this causes, but I think "System" is a better name for this class (it makes it natural to add things like "System.gc()") and frees up "IO" for referring to the CLI's IO module.
2015-09-15 07:46:09 -07:00
Fn.new { System.print("ok") // expect error
Fix broken test runner (!). If a test expected an error and found at least one, it would not fail on any other expected errors that didn't occur. Also, some tests were expecting a compile time error message even though the test script doesn't validate those (yet). The test function was getting monolithic, so I went ahead and split it into a separate little class.
2015-07-09 08:06:33 -07:00
}.call()
Reference in New Issue
Copy Permalink