From 754d5a59e98b410bc8772a9bdc5ac5651a8e01dd Mon Sep 17 00:00:00 2001 From: Joram Vandemoortele Date: Fri, 16 Apr 2021 20:08:01 +0200 Subject: [PATCH] correct attributes example (#978) --- doc/site/classes.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/site/classes.markdown b/doc/site/classes.markdown index 1267ae00..2c06104a 100644 --- a/doc/site/classes.markdown +++ b/doc/site/classes.markdown @@ -746,15 +746,15 @@ class Example { #!getter getter {} - // { regular(_,_): { regular:[null] } } + // { regular(_,_): { null: { regular:[null] } } } #!regular regular(arg0, arg1) {} - // { static other(): { isStatic:[true] } } + // { static other(): { null: { isStatic:[true] } } } #!isStatic = true - static other() + static other() {} - // { foreign static example(): { isForeignStatic:[32] } } + // { foreign static example(): { null: { isForeignStatic:[32] } } } #!isForeignStatic=32 foreign static example() }