[JS IR] Fix test data 'kt -> ir -> klib -> ir -> js' aka prod mode
- fix order in dts tests - unmute fixed test in prod mode - mute filing expect-actual link test in prod mode
This commit is contained in:
committed by
teamcityserver
parent
24a16a0c62
commit
3b53c97c2c
+1
-1
@@ -1,4 +1,4 @@
|
||||
// IGNORE_BACKEND: WASM, JS_IR
|
||||
// IGNORE_BACKEND: WASM
|
||||
// IGNORE_BACKEND: ANDROID
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
// ALLOW_KOTLIN_PACKAGE
|
||||
|
||||
+3
@@ -1,8 +1,11 @@
|
||||
// DONT_TARGET_EXACT_BACKEND: WASM
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// WASM_MUTE_REASON: EXPECT_DEFAULT_PARAMETERS
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// !LANGUAGE: +MultiPlatformProjects
|
||||
|
||||
// KT-41901
|
||||
|
||||
// FILE: common.kt
|
||||
|
||||
expect class C {
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
declare namespace JS_TESTS {
|
||||
type Nullable<T> = T | null | undefined
|
||||
namespace foo {
|
||||
const _val: number;
|
||||
let _var: number;
|
||||
const _valCustomWithField: number;
|
||||
let _varCustomWithField: number;
|
||||
function sum(x: number, y: number): number;
|
||||
function varargInt(x: Int32Array): number;
|
||||
function varargNullableInt(x: Array<Nullable<number>>): number;
|
||||
@@ -13,12 +17,8 @@ declare namespace JS_TESTS {
|
||||
function generic3<A, B, C, D, E>(a: A, b: B, c: C, d: D): Nullable<E>;
|
||||
function inlineFun(x: number, callback: (p0: number) => void): void;
|
||||
const _const_val: number;
|
||||
const _val: number;
|
||||
let _var: number;
|
||||
const _valCustom: number;
|
||||
const _valCustomWithField: number;
|
||||
let _varCustom: number;
|
||||
let _varCustomWithField: number;
|
||||
class A {
|
||||
constructor();
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@ declare namespace JS_TESTS {
|
||||
type Nullable<T> = T | null | undefined
|
||||
namespace foo {
|
||||
const _any: any;
|
||||
function _nothing(): never;
|
||||
const _throwable: Error;
|
||||
const _string: string;
|
||||
const _boolean: boolean;
|
||||
@@ -45,5 +44,6 @@ declare namespace JS_TESTS {
|
||||
const _fun_n_boolean_n_int_n_string_n_intarray: (p0: Nullable<boolean>, p1: Nullable<number>, p2: Nullable<string>) => Nullable<Int32Array>;
|
||||
const _n_curried_fun: (p0: Nullable<number>) => (p0: Nullable<number>) => (p0: Nullable<number>) => Nullable<number>;
|
||||
const _n_higher_order_fun: (p0: (p0: Nullable<number>) => Nullable<string>, p1: (p0: Nullable<string>) => Nullable<number>) => (p0: Nullable<number>) => Nullable<number>;
|
||||
function _nothing(): never;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user