Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: luau-lang/luau
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.711
Choose a base ref
...
head repository: luau-lang/luau
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.712
Choose a head ref
  • 2 commits
  • 95 files changed
  • 5 contributors

Commits on Mar 12, 2026

  1. Fix being able to write to a read-only field in a compound assignment (

    …#2290)
    
    The following code now generates a Type Error:
    
    ```luau
    type T = {
        read x: number
    }
    
    local foo: T = { x = 5 }
    foo.x += 5
    ```
    
    The flag `LuauLValueCompoundAssignmentVisitLhs` has been added, as well
    as 1 test.
    
    ---------
    
    Co-authored-by: ariel <aweiss@hey.com>
    PhoenixWhitefire and aatxe authored Mar 12, 2026
    Configuration menu
    Copy the full SHA
    ea931e0 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2026

  1. Sync to upstream/release/712 (#2296)

    # Analysis
    
    * Fix #1986
    * Fix #1890
    * Minor bugfixes and improvements
    
    # Compiler
    
    * Do not constant-fold strings that are longer than 4096 characters.
    This helps to avoid pathalogical misoptimizations that could result in
    the compiling bytecode growing very large.
    * fix constant placement into the CHECK_BUFFER_LEN 'double source'
    argument
    
    ---------
    
    Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
    Co-authored-by: Ariel Weiss <arielweiss@roblox.com>
    3 people authored Mar 13, 2026
    Configuration menu
    Copy the full SHA
    9e2984f View commit details
    Browse the repository at this point in the history
Loading