e6b5cb5216
Update includes:
- Changing syntax of `OI/`NI` tags from `<!NI;TAG!>` to `<!TAG{NI}!>`
- Fix some incorrect directives
- Change order of diagnostics in some places
- Remove ignored diagnostics from FIR test data (previously `DIAGNOSTICS` didn't work)
- Update FIR dumps in some places and add `FIR_IDENTICAL` if needed
- Replace all JAVAC_SKIP with SKIP_JAVAC directive
24 lines
1.3 KiB
Plaintext
Vendored
24 lines
1.3 KiB
Plaintext
Vendored
FILE: default.kt
|
|
public final fun foo(first: R|kotlin/Int|, second: R|kotlin/Double| = Double(3.14), third: R|kotlin/Boolean| = Boolean(false)): R|kotlin/Unit| {
|
|
}
|
|
public final fun bar(first: R|kotlin/Int|, second: R|kotlin/Double| = Double(2.71), third: R|kotlin/Boolean|, fourth: R|kotlin/String| = String()): R|kotlin/Unit| {
|
|
}
|
|
public final fun baz(x: R|kotlin/Int|, vararg y: R|kotlin/Array<out kotlin/String>|, z: R|kotlin/Boolean| = Boolean(false)): R|kotlin/Unit| {
|
|
}
|
|
public final fun test(): R|kotlin/Unit| {
|
|
R|/foo|(Int(1))
|
|
R|/foo|(Int(1), Double(2.0))
|
|
R|/foo|(Int(1), Double(2.0), Boolean(true))
|
|
R|/foo|(Int(1), third = Boolean(true))
|
|
<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /foo>#()
|
|
<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /foo>#(Int(0), Double(0.0), Boolean(false), String())
|
|
R|/bar|(Int(1), third = Boolean(true))
|
|
R|/bar|(Int(1), Double(2.0), Boolean(true))
|
|
R|/bar|(Int(1), Double(2.0), Boolean(true), String(my))
|
|
<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /bar>#(Int(1), Boolean(true))
|
|
R|/baz|(Int(1))
|
|
R|/baz|(Int(1), vararg(String(my), String(yours)))
|
|
R|/baz|(Int(1), z = Boolean(true))
|
|
<Inapplicable(INAPPLICABLE): /baz>#(Int(0), String(), Boolean(false))
|
|
}
|