Kampfkarren
6e97add1ee
Support un-interpolated strings
2022-07-27 18:10:06 -07:00
Kampfkarren
8ef45854f7
Add FFlag for %*
2022-07-27 17:59:21 -07:00
Kampfkarren
41fa546a17
Error when given a form
2022-07-27 17:53:15 -07:00
Kampfkarren
77166a3654
Bring back whitespace test in Linter
2022-07-27 17:40:08 -07:00
Kampfkarren
b43fe82465
Better %*
2022-07-27 17:34:16 -07:00
Kampfkarren
dadbd4cd47
FFlag off
2022-07-27 16:47:20 -07:00
Kampfkarren
be781b5083
Fix typechecker
2022-07-27 16:33:20 -07:00
Kampfkarren
11787e8336
Bespoke error for interpolated string after call
2022-07-27 02:25:12 -07:00
Kampfkarren
591192c3e5
Fix location, Transpiler
2022-07-26 23:06:56 -07:00
Kampfkarren
aa9f9c371f
Check end brace parse errors
2022-07-26 22:14:28 -07:00
Kampfkarren
c302ea18e6
Fix ScopedFlag include
2022-07-26 21:36:33 -07:00
Kampfkarren
b773f41790
Scoped FFlag for JsonEncoder test
2022-07-26 21:33:02 -07:00
Kampfkarren
8496af7907
JsonEncoder
2022-07-26 21:23:19 -07:00
Kampfkarren
7893ca20bb
Linter test
2022-07-26 21:19:15 -07:00
Kampfkarren
38cda27144
A test I haven't made work, Cost branch
2022-07-26 21:04:15 -07:00
Kampfkarren
477cfc4d0d
Basic string type
2022-07-26 20:50:46 -07:00
Kampfkarren
12ca7c5bb0
Better error for constant
2022-07-26 19:48:17 -07:00
Kampfkarren
8e409efde8
Use the same error
2022-07-26 19:45:01 -07:00
Kampfkarren
8d0d271cd3
Make interpolated string with no formatting a syntax error
2022-07-26 19:39:54 -07:00
Kampfkarren
f8be1070c3
Make {{ a parse error
2022-07-26 19:30:02 -07:00
Kampfkarren
6cb9054c07
Remove copy paste (though I'm not sure it's much better), start work on {{ parse failure
2022-07-26 19:20:33 -07:00
Kampfkarren
5a9de6ba0a
Fix string tests (VS Code was breaking it somehow? Not StyLua)
2022-07-26 18:57:09 -07:00
Kampfkarren
7fbe3a006c
Test string shadow
2022-07-26 18:49:50 -07:00
Kampfkarren
5a6912fe75
String escape
2022-07-26 18:49:17 -07:00
Kampfkarren
7d7ad6ba46
Uncomment nested strings. I'm surprised this worked
2022-07-26 18:42:59 -07:00
Kampfkarren
843fa3e8e4
Uncomment more tests
2022-07-26 18:42:28 -07:00
Kampfkarren
b40b10826c
Fix constant folding
2022-07-26 18:40:47 -07:00
Kampfkarren
da716a6a76
Fix more complicated case
2022-07-26 18:37:11 -07:00
Kampfkarren
9ea7b44ab9
%*
2022-07-26 16:37:54 -07:00
Kampfkarren
08a0f3015e
Fix multiple string interps
2022-07-26 15:47:33 -07:00
Kampfkarren
7ace43e29f
Fix multiple string interps
2022-07-26 15:44:51 -07:00
Kampfkarren
24f61dfeb5
Basic string interpolation proof of concept
2022-07-26 01:48:22 -07:00
Arseny Kapoulkine
b1cfaf5305
Sync to upstream/release/537 ( #607 )
2022-07-21 14:16:54 -07:00
Arseny Kapoulkine
5b2e39c922
Sync to upstream/release/536 ( #592 )
2022-07-14 15:52:26 -07:00
Alex Orlenko
e87009f5b2
Add lua_setuserdatatag to update userdata tags ( #588 )
2022-07-14 12:00:37 -07:00
Arseny Kapoulkine
506d971421
Sync to upstream/release/535 ( #584 )
2022-07-07 18:22:39 -07:00
Arseny Kapoulkine
42510bb5c8
Fix test after merging a stale PR ( #577 )
2022-07-05 11:36:33 -07:00
JohnnyMorganz
baa35117bd
Use syntheticName for stringified MetatableTypeVar ( #563 )
2022-07-05 09:19:54 -07:00
JohnnyMorganz
4d98a16ea8
Store resolved types in astResolvedTypes
( #574 )
2022-07-05 09:08:05 -07:00
JohnnyMorganz
6303ae30c4
Fix op used when stringifying AstExprIndexName ( #572 )
...
* Fix op used when stringifying AstExprIndexName
* Remove visualizeWithSelf
2022-07-05 08:59:09 -07:00
Arseny Kapoulkine
2daa6497a1
Sync to upstream/release/534 ( #569 )
2022-06-30 16:52:43 -07:00
Arseny Kapoulkine
08ab7da4db
Sync to upstream/release/533 ( #560 )
2022-06-23 18:56:00 -07:00
Arseny Kapoulkine
f1b46f4b96
Sync to upstream/release/532 ( #545 )
2022-06-16 18:05:14 -07:00
JohnnyMorganz
c30ab0647b
Improve table stringifier when line breaks enabled ( #488 )
...
* Improve table stringifier when line breaks enabled
* Add FFlag
* Fix FFlags
2022-06-14 08:39:25 -07:00
rblanckaert
b066e4c8f8
0.531 ( #532 )
...
* Fix free Luau type being fully overwritten by 'any' and causing UAF
* Fix lua_clonefunction implementation replacing top instead of pushing
* Falsey values other than false can now narrow refinements
* Fix lua_getmetatable, lua_getfenv not waking thread up
* FIx a case where lua_objlen could push a new string without thread wakeup or GC
* Moved Luau math and bit32 definitions to definition file
* Improve Luau parse recovery of incorrect return type token
2022-06-10 09:58:21 -07:00
rblanckaert
55a026811a
Sync to upstream/release/530 ( #517 )
...
* Run clang-format
* Contains a preliminary implementation of deferred constraint resolution
* Reduce stack usage by some recursive functions
* Fix a bug when smartCloning a BoundTypeVar
* Remove some GC related flags from VM
2022-06-03 15:15:45 -07:00
rblanckaert
61766a692c
Sync to upstream/release/529 ( #505 )
...
* Adds a currently unused x86-64 assembler as a prerequisite for possible future JIT compilation
* Fix a bug in table iteration (closes Possible table iteration bug #504 )
* Improved warning method when function is used as a type
* Fix a bug with unsandboxed iteration with pairs()
* Type of coroutine.status() is now a union of value types
* Bytecode output for tests/debugging now has labels
* Improvements to loop unrolling cost estimation
* Report errors when the key obviously doesn't exist in the table
2022-05-26 15:08:16 -07:00
Austin
e13f17e225
Fix VM inconsistency caused by userdata C TM fast paths ( #497 )
...
This fixes usage of userdata C functions in xpcall handler following call stack overflow
2022-05-24 11:32:03 -07:00
Petri Häkkinen
fb9c4311d8
Add lua_tolightuserdata, optimized lua_topointer ( #496 )
...
Co-authored-by: Petri Häkkinen <petrih@rmd.remedy.fi>
2022-05-24 08:59:12 -07:00
Arseny Kapoulkine
f5923aefeb
Sync to upstream/release/527 ( #491 )
2022-05-19 17:02:24 -07:00