Skip to content

Semantic analysis error not reported within lambda #4098

@JukkaL

Description

@JukkaL

This doesn't generate an error, though it's clearly invalid:

lambda: xyz

This generates an error:

lambda: 1 + ''

It looks like type checking errors are reported within a lambda but semantic analysis errors are lost.

This is not a regression -- this bug has been around for a long time.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions