luau icon indicating copy to clipboard operation
luau copied to clipboard

A fast, small, safe, gradually typed embeddable scripting language derived from Lua

Results 361 luau issues
Sort by recently updated
recently updated
newest added

# Problem Consider this: ``` type X = { a: number } type Y = { b: number } type Z = { c: number } type M = {...

enhancement

Right now there's a gap in the syntax for declaration files with the lack of support for generic type packs. ![image](https://github.com/luau-lang/luau/assets/68000848/47137316-c15f-4d6a-a696-978eb933a8a9) One way it can be resolved is using the...

bug
enhancement
pr welcome

In the readme file under the building section, it specifies that you should run the command `mkdir cmake && cd cmake`; however, the folder is not currently being ignored.

I'm not sure about terminology or what exactly is causing this, but there are some edge cases around intersections and/or unions that cause autocomplete to break. Below is a minimal...

bug

My testing code that I put inside ``Autocomplete.test.cpp`` ```cpp TEST_CASE_FIXTURE(ACBuiltinsFixture, "idk2") { // Change this to "false" to compare it to the old version ScopedFastFlag sff[]{ {FFlag::DebugLuauDeferredConstraintResolution, true}, }; auto...

bug

```lua --!strict local weaks = setmetatable({} :: { number }, { __mode = "v" }) table.insert(weaks, 5) ``` ![image](https://github.com/luau-lang/luau/assets/3190756/c54ec0f3-bca2-4fe1-8534-7ec7143df24a)

bug

Let's say that we have the following code: ``` 1| if condition then 2| ... 3| end 4| 5| local var = 1 ``` Calling a lua_breakpoint on line 3...

bug

Hello, friends in luau community, Will luau provide portable prebuilt. We are developing x-cmd and want to add luau into our pkg. Take bun as an example: https://www.x-cmd.com/pkg/bun We can...

enhancement

When using ```value = value or ``` syntax with optional types, the optional should be refined to a non-optional type as it is now known not to be nil. Example:...

bug
type states
fixed by new solver

# Background Hey all! I'm working on a small side project and one of the things I'd like to do involves porting some Lua code over to Luau. The current...

enhancement