mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-13 13:30:40 +00:00
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
This commit is contained in:
parent
ee82f1e997
commit
fc763650d3
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ local b2: B = a1 -- not ok
|
||||||
|
|
||||||
## Primitive types
|
## 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.
|
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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue