Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oxisto committed Nov 29, 2024
1 parent b46d531 commit 6d40ad3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ fun <T : Any?> assertLiteralValue(expected: T, expr: Expression?, message: Strin
}

fun ContextProvider.assertResolvedType(fqn: String): Type {
var type = ctx?.typeManager?.lookupResolvedType(fqn, (this as? LanguageProvider)?.language)
var type =
ctx?.typeManager?.lookupResolvedType(fqn, language = (this as? LanguageProvider)?.language)
return assertNotNull(type)
}

0 comments on commit 6d40ad3

Please sign in to comment.