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
Testcase overloading_with_superclass.n4js.xt (already in repo)
/* XPECT_SETUP org.eclipse.n4js.xpect.tests.N4jsXtTest File "def.d.ts" { export class Cls1 { m(event: string): this; } export class Cls2 extends Cls1 { m(event: number): this; } } END_SETUP */// XPECT noerrors -->import{Cls2}from"def"
let cls: Cls2;// XPECT FIXME noerrors -->cls.m("message");// XPECT noerrors -->cls.m(42);// XPECT FIXME type of 'fn' --> {function(any+=…):Cls}// XPECT warnings --> "A reference to method m is created detached from a (correct) this-instance." at "m"letfn=cls.m;
The text was updated successfully, but these errors were encountered:
… plain-js projects (#2408)
* fix load from resource for virtual modules of a dependency
* add test
* detect dts files in plainjs projects
* try to front-check dependencies
* add test for re-export of another plain-js package
* extend test case to combine re-export with export local element
* add test for GH-2406
* add test for GH-2407
* add test for moment/moment-timezone
* fix FIXMEs
* undo main changes to try a different approach
* better approach
* clarify Java doc
* fix test
Testcase overloading_with_superclass.n4js.xt (already in repo)
The text was updated successfully, but these errors were encountered: