Have a more descriptive panic message when actor change points are encountered in typescript
Summary: * Have a more descriptive panic message when actor change points are encountered in typescript
@@ -59,7 +59,9 @@ impl Writer for TypeScriptPrinter {
AST::ReturnTypeOfFunctionWithName(function_name) => {
self.write_return_type_of_function_with_name(*function_name)
}
- AST::ActorChangePoint(_) => panic!("Not supported yet"),
+ AST::ActorChangePoint(_) => {
+ panic!("ActorChangePoint is not supported yet in Typescript")
+ }
AST::ReturnTypeOfMethodCall(object, method_name) => {
self.write_return_type_of_method_call(object, *method_name)
}
