1
0
forked from Mirror/wren
Files
wren/test/language/constructor
Chayim Refael Friedman 041f1bab8d Fix returning from constructors (#845)
* Fix returning from constructors

 1. Do not allow returning with a value
 2. Return the instance, correctly, even when the user returned explicitly

* revise error message for consistency, revise implementation details a bit, fix extra args to finishBody

* clarify tests a bit

* document constructor return

Co-authored-by: ruby0x1 <ruby0x1@pm.me>
2021-04-07 22:53:05 -07:00
..
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2015-09-01 08:16:04 -07:00
2015-11-11 07:55:48 -08:00