Underlying constructor for type alias should always be substituted
Otherwise PSI2IR fails because of type mismatch.
This commit is contained in:
@@ -100,7 +100,8 @@ class SymbolTable {
|
||||
private var currentScope: Scope? = null
|
||||
|
||||
override fun get(d: D): S? {
|
||||
val scope = currentScope ?: throw AssertionError("No active scope")
|
||||
val scope = currentScope
|
||||
?: throw AssertionError("No active scope")
|
||||
return scope[d]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user