Closed JSAbrahams closed 2 years ago
mamba source
def a := self.error_function() handle err1: Err1 => print(err1) -1 err2: Err2 => print(err2) -2
is transpiled to:
a = None try: a: int = self.error_function() except Err1 as err1: print(err1) a = -1 except Err2 as err2: print(err2) a = -2 print(a)
The indentation within the try block should only be one greater than the try.
How to Reproduce
mamba source
is transpiled to:
Expected behavior
The indentation within the try block should only be one greater than the try.