Improved docs (allman syntax)
This commit is contained in:
@@ -11,9 +11,10 @@ The semantic checker (`semantics.rs`) performs class field initialization analys
|
||||
The primary semantic check ensures all class fields are initialized in the constructor:
|
||||
|
||||
```mist
|
||||
class Player {
|
||||
i32 health,
|
||||
str& name,
|
||||
class Player
|
||||
{
|
||||
i32 health;
|
||||
str& name;
|
||||
|
||||
pub constructor(str& name)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user