summaryrefslogtreecommitdiff
path: root/test-beta
diff options
context:
space:
mode:
Diffstat (limited to 'test-beta')
-rw-r--r--test-beta/type_inference/init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/test-beta/type_inference/init.lua b/test-beta/type_inference/init.lua
index 17a2ae5b..626cee66 100644
--- a/test-beta/type_inference/init.lua
+++ b/test-beta/type_inference/init.lua
@@ -150,6 +150,10 @@ TEST 'string' [[
]]
TEST 'function' [[
+return ('x').<?sub?>
+]]
+
+TEST 'function' [[
<?x?> = ('x').sub
]]