You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a structure type has an @:optional function field, autocomplete fails when trying to complete structure fields
Repro
classMain {
staticfunctionmain() {
example({
// try autocomplete in here
});
}
staticfunctionexample(options: {
@:optionalvarfield:String; // this works fine
@:optional/*dynamic*/functioncallback():Void; // breaks autocomplete (with or without dynamic)
}) {
}
}
This works if you remove @:optional from function callback(). Tested haxe 4.0.5 and 4.2.0 development branch
The text was updated successfully, but these errors were encountered:
If a structure type has an
@:optional function
field, autocomplete fails when trying to complete structure fieldsRepro
This works if you remove @:optional from
function callback()
. Tested haxe 4.0.5 and 4.2.0 development branchThe text was updated successfully, but these errors were encountered: