@tlua/tlua-win32-arm64 0.0.11 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -233,7 +233,11 @@ declare function xpcall(fn: LuaFunction, handler: (message: any) => any, ...: an
233
233
  * reads, __newindex writes to a missing key, __call, __metatable protection, and
234
234
  * the operator metamethods (__eq __lt __le __unm __len __add __sub __mul __div
235
235
  * __mod __pow __concat) -- and getmetatable reads that metatable back;
236
- * setmetatable as a statement narrows its table argument the same way.
236
+ * setmetatable as a statement narrows its table argument the same way. Operator
237
+ * metamethods also dispatch ambiently: a declared type that states them as
238
+ * `__add`-style members (a userdata class like GMod's Vector) overloads the
239
+ * operators with no setmetatable in sight; __index, __newindex and __call stay
240
+ * pairing-only.
237
241
  * debug.setmetatable and debug.getmetatable bypass __metatable protection. A
238
242
  * shadowed local of either name keeps whatever it declares. Both signatures still
239
243
  * carry the contract this file can express: the parameter type is what validates a
package/lib/tlua.exe CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tlua/tlua-win32-arm64",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "license": "Apache-2.0",
5
5
  "author": "tlua",
6
6
  "homepage": "https://github.com/apyrr/tlua",
@@ -32,7 +32,7 @@
32
32
  "exports": {
33
33
  "./package.json": "./package.json"
34
34
  },
35
- "gitHead": "656295407080c75d48313a6b4d734da03d891f88",
35
+ "gitHead": "b2b48dcd7efe342084bfdc93c93ff371a9e48d3c",
36
36
  "publishConfig": {
37
37
  "access": "public",
38
38
  "tag": "latest"