This repository has no description
Something went wrong. Try again.
lexlint: fix panic in breakingDefs when inner schema type changes master
The type-change guard compared reflect.TypeOf on the SchemaDef wrapper structs, which are always the same type. This meant the guard never triggered, and bare type assertions like remote.Inner.(SchemaString) would panic when the inner types differed (e.g. SchemaString vs SchemaObject). Fix by comparing the Inner field types instead.
Author Adam Spiers Date (Mar 3, 2026, 8:58 PM UTC) Commit 621efefc 621efefcc4e951f9499d0485a8924b39b1e19a5f Parent 01fde705 01fde705a4504f8de0f7902ee62008efd6fecd68