Skip to content

clearer error message for using non-booleans in boolean context #125

@StefanKarpinski

Description

@StefanKarpinski
julia> (Int32 :: Type{Int32}) && (Type{Int32} <: typeof(Int32))
type error: lambda: in if, expected Bool, got BitsKind

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions