haxe icon indicating copy to clipboard operation
haxe copied to clipboard

Diagnostics vs. optional argument skipping

Open Simn opened this issue 3 years ago • 2 comments
trafficstars

function test(?x:String,  ?e:haxe.macro.Expr.ExprDef) {}

function main() {
	test(EBreak);
}

This complains about Unknown identifier : EBreak. Should be very similar to #10633.

Simn avatar Mar 21 '22 08:03 Simn

My fix for this doesn't work. I think the problem is that due to the potentially delayed nature of our typing, disabling the report mode like this might affect various other typing attempts.

Simn avatar May 30 '22 11:05 Simn