alpha
Login
or
Join now
ptr.pet
/
indigo
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
indigo
/
lex
/
lexlint
1 folder
6 files
at
main
Adam Spiers
lexlint: fix panic in breakingDefs when inner schema type changes
4mo ago
621efefc
testdata
add lexlint package
7 months ago
breaking.go
lexlint: fix panic in breakingDefs when inner schema type changes 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.
4 months ago
breaking_test.go
lexlint: fix panic in breakingDefs when inner schema type changes 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.
4 months ago
lint.go
implement lex tweak
7 months ago
lint_test.go
add lexlint package
7 months ago
syntax.go
add lexlint package
7 months ago
syntax_test.go
add lexlint package
7 months ago