mirror of
https://github.com/github/codeql.git
synced 2025-12-16 08:43:11 +01:00
385 B
385 B
lgtm,codescanning
- The query "Unreachable statement" (
go/unreachable-statement) now tolerates more unreachable return statements, which can often be required in Go following a function call that cannot return. Newly tolerated statements includereturn true,return MyStruct{0, true}, and any return when the return value has typeerror. This eliminates some nuisance results.