You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[pigeon] Make Kotlin FlutterError a runtime error (#11469)
Change the Kotlin generator's `FlutterError` to inherit from `RuntimeException`, rather than just `Runnable`, so that it behaves as an unchecked error when used from Java (as is the case for the Java version).
Fixesflutter/flutter#184200
## Pre-Review Checklist
[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
Copy file name to clipboardExpand all lines: packages/pigeon/platform_tests/test_plugin/android/src/main/kotlin/com/example/test_plugin/CoreTests.gen.kt
Copy file name to clipboardExpand all lines: packages/pigeon/platform_tests/test_plugin/android/src/main/kotlin/com/example/test_plugin/EventChannelTests.gen.kt
Copy file name to clipboardExpand all lines: packages/pigeon/platform_tests/test_plugin/android/src/main/kotlin/com/example/test_plugin/ProxyApiTests.gen.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ class ProxyApiTestsError(
50
50
valcode:String,
51
51
overridevalmessage:String? = null,
52
52
valdetails:Any? = null
53
-
) : Throwable()
53
+
) : RuntimeException()
54
54
/**
55
55
* Maintains instances used to communicate with the corresponding objects in Dart.
0 commit comments