From 97439cfe5eb7a3ab359311e3b7a681c291132410 Mon Sep 17 00:00:00 2001 From: Junseo Yoo Date: Wed, 3 Jul 2024 14:27:38 -0700 Subject: [PATCH] typelib.nil clashes with the reserved keyword, so changed to typelib.niltype --- docs/user-defined-type-functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user-defined-type-functions.md b/docs/user-defined-type-functions.md index 5e61351..5708282 100644 --- a/docs/user-defined-type-functions.md +++ b/docs/user-defined-type-functions.md @@ -82,7 +82,7 @@ All attributes of newly created typelib are initialized with empty tables / arra | Instance Attributes | Type | Description | | ------------- | ------------- | ------------- | -| `nil` | `typelib` | an immutable runtime representation of the built-in type `nil` | +| `niltype` | `typelib` | an immutable runtime representation of the built-in type `nil` | | `unknown` | `typelib` | an immutable runtime representation of the built-in type `unknown` | | `never` | `typelib` | an immutable runtime representation of the built-in type `never` | | `any` | `typelib` | an immutable runtime representation of the built-in type `any` |