hah, heres a super awesome piece of code almost ce...
# language-proposals
g
hah, heres a super awesome piece of code almost certainly created by a merge conflict:
Copy code
catch (exception: AssertionError) {
            <http://eventBus.post|eventBus.post>(ControlFlowInterruptedEvent())
            return optimizationModel?.id ?: NullUUID
        }
        catch (exception: AssertionError) {
            <http://eventBus.post|eventBus.post>(ControlFlowInterruptedEvent())
            return optimizationModel!!.id
        }
Can ask the compiler to make this illegal? Would it ever be useful to catch the same type like this?
👍 4
m
groostav: kotl.in/issue please
3