From 5712c7711fd91d19647921fe7fb1608dc3e06b42 Mon Sep 17 00:00:00 2001 From: wingbot <109207340+monadabot@users.noreply.github.com> Date: Fri, 22 Sep 2023 01:21:50 +0300 Subject: [PATCH] feat(docs): update docs (#620) feat(docs): update docs Updates the Wing docs. See details in [workflow run]. [Workflow Run]: https://github.com/winglang/docsite/actions/runs/6267685871 ------ *Automatically created via the "update-docs" workflow* --- versioned_docs/version-latest/03-language-reference.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/versioned_docs/version-latest/03-language-reference.md b/versioned_docs/version-latest/03-language-reference.md index 223e6ba3b..f5ed62d44 100644 --- a/versioned_docs/version-latest/03-language-reference.md +++ b/versioned_docs/version-latest/03-language-reference.md @@ -1094,10 +1094,10 @@ Execution model currently is delegated to the JSII target. This means if you are targeting JSII with Node, Wing will use the event based loop that Node offers. In Wing, writing and executing at root block scope level is forbidden except for -in entrypoint files (designated by `main.w` or `*.main.w`). Root block scope is -considered special and compiler generates special instructions to properly -assign all preflight classes to their respective scopes recursively down the -constructs tree based on entry. +in entrypoint files (designated by `main.w`, `*.main.w` or `*.test.w`). +Root block scope is considered special and compiler generates special instructions +to properly assign all preflight classes to their respective scopes recursively +down the constructs tree based on entry. Within the entrypoint file, a root preflight class is made available for all subsequent preflight classes that are initialized and instantiated. The type of