From fc763650d3f0e6cfa16c791bc8e11ea706710161 Mon Sep 17 00:00:00 2001 From: natteko Date: Thu, 30 Jun 2022 23:14:49 +0100 Subject: [PATCH] Fix broken link in typecheck.md (#568) Current link redirects to https://luau-lang.org/typecheck#Roblox-types (notice the fragment) which is effectively the same as https://luau-lang.org/typecheck What the link *wants* to redirect to is https://luau-lang.org/typecheck#roblox-types (notice the change in fragment) which is the Roblox types segment of the document --- docs/_pages/typecheck.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_pages/typecheck.md b/docs/_pages/typecheck.md index 63e4c8bb..363056c5 100644 --- a/docs/_pages/typecheck.md +++ b/docs/_pages/typecheck.md @@ -48,7 +48,7 @@ local b2: B = a1 -- not ok ## Primitive types -Lua VM supports 8 primitive types: `nil`, `string`, `number`, `boolean`, `table`, `function`, `thread`, and `userdata`. Of these, `table` and `function` are not represented by name, but have their dedicated syntax as covered in this [syntax document](syntax), and `userdata` is represented by [concrete types](#Roblox-types); other types can be specified by their name. +Lua VM supports 8 primitive types: `nil`, `string`, `number`, `boolean`, `table`, `function`, `thread`, and `userdata`. Of these, `table` and `function` are not represented by name, but have their dedicated syntax as covered in this [syntax document](syntax), and `userdata` is represented by [concrete types](#roblox-types); other types can be specified by their name. Additionally, we also have `any` which is a special built-in type. It effectively disables all type checking, and thus should be used as last resort.