PythonToCSharpConverter.cs:36 -- 移除未使用的 indentLevel 变量
Program.test.cs -- 将顶层语句改为 ManualTest.RunAsync() 方法,消除入口点冲突 BatchConversionService.cs:96 -- options 可空参数添加 ?? new ConversionOptions() 空值回退 Co-authored-by: monkeycode-ai <monkeycode-ai@chaitin.com>
This commit is contained in:
@@ -33,7 +33,6 @@ public class PythonToCSharpConverter : IConverter
|
||||
sb.AppendLine();
|
||||
|
||||
var lines = pythonCode.Split('\n');
|
||||
var indentLevel = 0;
|
||||
|
||||
foreach (var line in lines)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user