mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 22:35:43 +08:00
d5a2a1585e
- Fix rare type checking bugs with invalid generic types escaping the module scope - Fix type checking of variadic type packs in certain cases - Implement type normalization, which resolves a large set of various issues with unions/intersections in type checker - Improve parse errors for trailing commas in function calls and type lists - Reduce profiling skew when using --profile with very high frequencies - Improve performance of `lua_getinfo` (`debug.info`, `debug.traceback` and profiling overhead are now 20% faster/smaller) - Improve performance of polymorphic comparisons (1-2% lift on some benchmarks) - Improve performance of closure creation (1-2% lift on some benchmarks) - Improve string comparison performance (4% lift on string sorting)
47 lines
1.2 KiB
XML
47 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
|
|
|
<Type Name="Luau::AstArray<*>">
|
|
<DisplayString>AstArray size={size}</DisplayString>
|
|
<Expand>
|
|
<Item Name="[size]">size</Item>
|
|
<ArrayItems>
|
|
<Size>size</Size>
|
|
<ValuePointer>data</ValuePointer>
|
|
</ArrayItems>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="Luau::TempVector<*>">
|
|
<Expand>
|
|
<Item Name="[size]">size_</Item>
|
|
<ArrayItems>
|
|
<Size>size_</Size>
|
|
<ValuePointer>storage._Mypair._Myval2._Myfirst + offset</ValuePointer>
|
|
</ArrayItems>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="Luau::AstName">
|
|
<DisplayString>{value,na}</DisplayString>
|
|
</Type>
|
|
|
|
<Type Name="Luau::AstLocal">
|
|
<DisplayString>{name.value,na}</DisplayString>
|
|
</Type>
|
|
|
|
<Type Name="Luau::Symbol">
|
|
<DisplayString Condition="local">local {local->name.value,na}</DisplayString>
|
|
<DisplayString>global {global.value,na}</DisplayString>
|
|
</Type>
|
|
|
|
<Type Name="Luau::Position">
|
|
<DisplayString>{line}:{column}</DisplayString>
|
|
</Type>
|
|
|
|
<Type Name="Luau::Location">
|
|
<DisplayString>{begin}-{end}</DisplayString>
|
|
</Type>
|
|
|
|
</AutoVisualizer>
|