|
|
|
|
|
by gf000
544 days ago
|
|
But there is absolutely no hiding, the design is very smart! You simply get an unnamed implicit class like `class Tmp367 {` written at the top, and the runtime loader has been modified to be more accepting of main methods. There was basically a tiny language change, and no bytecode change, java semantics are just like they always were. The Main loader just simply will accept an instance method named 'main' for a class with an empty constructor with no args, instead of psvm. |
|