Introduce 'fail' method to throw AssertionError with cause
Introduce 'fail' method to throw AssertionError with cause

#KT-37804

(cherry picked from commit 0449df5f64b1c2f639786d1865979662331f56d6)

wiltonlazary/kotlin-native,wiltonlazary/kotlin-native,wiltonlazary/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native