mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-16 20:28:04 +01:00
Every statement that isn't a method definition gets compiled into a special "<body>" method in the class. Every constructor in the class implicitly calls that before executing. Since it's an instance method, it executes in the context of the class: it can write fields, access "this", etc.