Skip to content

Conversation

simpletonDL
Copy link
Owner

No description provided.

val exceptionType = ConeClassLikeTypeImpl(
ConeClassLikeLookupTagImpl(
ClassId(
FqName("java.lang"),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why java.lang.IllegalStateException, not kotlin.IllegalStateException?

moduleData = session.moduleData
origin = ThrowsFunctionKey.origin
returnTypeRef = buildResolvedTypeRef {
type = session.builtinTypes.throwableType.type

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Throwable is too much. Catching OutOfMemoryError is a bad practice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants