繁体   English   中英

当源代码中存在“|”时,IDE将挂起。 这是Delphi XE8中的错误吗?

[英]The IDE hangs when “|” is present in the source code. Is it a bug in Delphi XE8?

每当我键入“|” (垂直条)在源代码编辑器中,Delphi IDE开始挂起。

我试着添加“|” 在使用Delphi打开我的项目之前,通过记事本在我的源代码中,似乎IDE在打开项目时挂起。

示例1(这将起作用):

procedure TForm8.FormCreate(Sender: TObject);
begin
  if 1 = 1 then
    ShowMessage('True');
end;

示例2(这不起作用):

procedure TForm8.FormCreate(Sender: TObject);
begin
  if 1 = 1 then || "1" = "1" then //Whenever I start typing the "|", the IDE starts to hang.
    ShowMessage('True');
end;

注意:删除“|”后Delphi IDE没有挂起我的项目 (垂直条)在我的源代码中通过记事本(在用Delphi打开项目之前)。

是的,这是一个错误 ,不幸的是只在订阅更新中修复

如果您没有更新,则需要关闭Castalia

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM