Skip to content

Primitive type common ancestor in If expression #70

Open
@tmteam

Description

@tmteam
y = if (true) false else 12

Expected:

y:any == false

Actual:

Error: TicIncompatibleAncestorSyntaxNodeException : Incompatible ancestor 2:[U8..Re]Re!=>3:Bo

Metadata

Metadata

Assignees

Labels

TicType inference calculator has to be changedinvalidThis doesn't seem right

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions