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
// This file is generated from mozilla\Element.webidl. Do not edit!packagejs.html;typedefScrollIntoViewOptions=ScrollOptions&{var ?block:ScrollLogicalPosition;
@:native("inline")// <---var ?_inline:ScrollLogicalPosition;}
...should - because of the @:native("inline") - generate a field with the name "inline", shouldn't it?
However, the generated code has the untransformed field name "_inline", witch of course does not work:
// Generated by Haxe 4.2.0-rc.1+2776f3cd4
(function ($global) {"use strict";
functionApp_main() {
vartestElement=window.document.createElement("div");
testElement.scrollIntoView({ _inline: "center" }); // <-------- should be "inline", not "_inline"
}
});
It seems that the @:native("inline") isn't taken into account by the compiler?!
The text was updated successfully, but these errors were encountered:
The following code
...with the following typedef...
...should - because of the
@:native("inline")
- generate a field with the name "inline", shouldn't it?However, the generated code has the untransformed field name "_inline", witch of course does not work:
It seems that the
@:native("inline")
isn't taken into account by the compiler?!The text was updated successfully, but these errors were encountered: