【bug反馈】嵌套try...catch + continue报错

leemo 2020-11-17 692

开发过程需要使用到try...catch + continue,但似乎目前不支持

代码如下:

for each i in [1,2,3,4]
    try
        Try
            If i = 3
                continue
            End If
            TracePrint i  
        Catch e1
            throw e1
        End Try
    catch e
        TracePrint e
    end try
next

期望结果:

1
2
4

报错信息:

_【bug反馈】嵌套try...catch + continue报错

版本信息:

_【bug反馈】嵌套try...catch + continue报错

最新回复 (2)
  • 99365 2020-11-17
    2
    for each i in [1,2,3,4]
                If i = 3
                    continue
                End If
                TracePrint i  
    next
  • Chu 2020-11-17
    3
    用5.3.0版本,无此问题
返回
发新帖