TscanCode icon indicating copy to clipboard operation
TscanCode copied to clipboard

TscSharp在解析文件时会进入死循环状态

Open iNeverSleeeeep opened this issue 5 years ago • 1 comments

当c#文件中含有类似如下语法,在Tokenizing阶段会卡住。

class SomeClass
{
    private Dictionary<string, (string a, string b)> dictionary = new Dictionary<string, (string a, string b)>();
}

iNeverSleeeeep avatar Sep 01 '20 01:09 iNeverSleeeeep

在处理元组时会崩溃

|_______________________________________________ | | ( ︶︿︶) | | Oops, I am running into crash. | Contact Tencent TscanCode Team please! |_______________________________________________

lsjsoft avatar Oct 31 '22 07:10 lsjsoft