From 4a795b9ca0d6835547f77ec8d6ee8e94e252a333 Mon Sep 17 00:00:00 2001 From: Username404 Date: Tue, 22 Mar 2022 18:40:39 +0100 Subject: [PATCH] Specify that variables are static by default only at compile time in docs/gettingstarted.md Signed-off-by: Username404 --- docs/gettingstarted.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/gettingstarted.md b/docs/gettingstarted.md index 6fb4a38..0f6611b 100644 --- a/docs/gettingstarted.md +++ b/docs/gettingstarted.md @@ -67,7 +67,7 @@ Types are *inferred*, which means that specifying types of variables or returned Note: While primitives types (`String`, `int`, `double`, `boolean`, `float`) will be transpiled to their equivalents for the target of the transpiler, this is not the case for other types. -Every variable has a static type by default; it is possible to make a **non-final** variable dynamic by adding `dyn`/`dynamic` to the attributes or making it the return type: +Every variable has a static type by default at compile time; it is possible to make a **non-final** variable dynamic by adding `dyn`/`dynamic` to the attributes or making it the return type: ``` dyn helloWorld = 0 # helloWorld: dyn = 0 would also work helloWorld = "Hello, World!"