IR: don't attempt to move defaults to actual in another module

May happen when a function in an `expect` class is aliased through an
`actual typealias`; the matching declaration is filtered out in
`ExpectedActualResolver.findActualForExpected` as it has no source.
This commit is contained in:
pyos
2019-11-15 14:14:01 +01:00
committed by Alexander Udalov
parent 1bc48c3df9
commit 9182f2c796
5 changed files with 38 additions and 12 deletions

View File

@@ -1,5 +1,4 @@
// !LANGUAGE: +MultiPlatformProjects
// IGNORE_BACKEND: JVM_IR
// WITH_REFLECT
// FILE: main.kt