From aff9eaaf6920b0713e2ab57980c0647c07e3127c Mon Sep 17 00:00:00 2001 From: Kylee Tilley Date: Fri, 24 Nov 2023 21:30:41 -0600 Subject: [PATCH] Add comments to test for documentation --- res/examples/field/invalid_field_name_init.locks | 3 +++ 1 file changed, 3 insertions(+) diff --git a/res/examples/field/invalid_field_name_init.locks b/res/examples/field/invalid_field_name_init.locks index fd8cad9..5f43bea 100644 --- a/res/examples/field/invalid_field_name_init.locks +++ b/res/examples/field/invalid_field_name_init.locks @@ -1,3 +1,6 @@ +// Class fields can not be named "init" +// This name is reserved for class constructors + class Foo { let init; // out: NameError: "init" is a reserved name }