haxe icon indicating copy to clipboard operation
haxe copied to clipboard

Missing field generation regression

Open RblSb opened this issue 1 year ago • 2 comments

Commit https://github.com/HaxeFoundation/haxe/commit/52bb47510efdd5ecb945bc016b015bb1b21dd456 breaks missing field generation in vshaxe:

class Main {
	static function main() {
		foo = 0;
	}
}

Generation before: static var foo:Int; Now: static var foo:?; (monomorph)

RblSb avatar Jan 08 '24 08:01 RblSb

Little more context: MissingFieldDiagnostics now returns type : {kind : TMono} instead of abstract around Int. Can be viewed with trace(fields) around here https://github.com/vshaxe/haxe-language-server/blob/0f3418b7725d48e053c53b805b51f58ce372378f/src/haxeLanguageServer/features/haxe/codeAction/diagnostics/MissingFieldsActions.hx#L130

RblSb avatar Jan 08 '24 14:01 RblSb

I hope this regression will be fixed for the next release, at the moment this useful ide feature is broken in dev builds. Would like to migrate to dev since compilation server is at sad state for me in stable release with many fake display recursive inline errors.

RblSb avatar May 03 '24 03:05 RblSb