Browse source

Changelog

Query
From:
To:
Branch:
Path:
Message:
BugID:
User: +
Format:
: 1 checkin (+30/-18) by Henrik Grubbström (Grubba) <grubba@grubba.org> Lines added/removed recently

Monday 26 September 2022

2022-09-26 12:32:21 (2 months ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [Typechecker]: Fix issue comparing function types.

Promote void to zero when comparing return types.
The following code is thus now allowed without complaint:

void foo(string, int|void);
function(string:int(0..)) f = foo;

Fixes compilation error in Tool.Hilfe.

[permalink]

Bugs? Suggestions?