Commit graph

99 commits

Author SHA1 Message Date
Kampfkarren
3683436dbe Explicit bytecode test 2022-07-28 17:33:10 -07:00
Kampfkarren
e1a229aa80 Fix tests, but introduce a new snaggle 2022-07-27 23:29:57 -07:00
Kampfkarren
cfe339f994 String to make sure interp strings with no expressions are compiled as strings 2022-07-27 22:47:47 -07:00
Kampfkarren
efe3b7ca36 Bespoke error for interpolated string fails 2022-07-27 22:42:37 -07:00
Kampfkarren
63654211c6 Allow interpolated strings without expressions, add TODO test for failing interp strings as types 2022-07-27 22:12:27 -07:00
Kampfkarren
92adca20bf Test constant type interp strings 2022-07-27 18:50:39 -07:00
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