You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
unit u1;
uses u2;
type
t2 = class(t1)
//обязательно унаследовать конструктор t1
end;
end.
u2.pas:
unit u2;
uses u3;
type
t1 = class
// обязательно использовать t0 в типах параметров, которое невидимо из u1
// можно, к примеру, "array of t0", тоже воспроизведётся
constructor(a: t0) := exit;
end;
end.
При компиляции из IDE - не создаётся u1.pcu, а при компиляции из папки:
[0]Internal compiler error in module Compiler.Compile[u1.pas] :'System.Collections.Generic.KeyNotFoundException: Данный ключ отсутствует в словаре.
в System.ThrowHelper.ThrowKeyNotFoundException()
в System.Collections.Generic.Dictionary`2.get_Item(TKey key)
в PascalABCCompiler.PCU.PCUWriter.GetUnitToken(common_namespace_node ns)
в PascalABCCompiler.PCU.PCUWriter.GetTypeReference(type_node tn, Byte& is_def)
в PascalABCCompiler.PCU.PCUWriter.WriteTypeReference(type_node type)
в PascalABCCompiler.PCU.PCUWriter.VisitParameter(common_parameter p)
в PascalABCCompiler.PCU.PCUWriter.VisitMethodDefinition(common_method_node meth, Int32 offset)
в PascalABCCompiler.PCU.PCUWriter.VisitMethodDefinitions(common_type_node ctn)
в PascalABCCompiler.PCU.PCUWriter.VisitTypeMemberDefinition(common_type_node ctn)
в PascalABCCompiler.PCU.PCUWriter.SaveSemanticTree(CompilationUnit Unit, String TargetFileName, Boolean IncludeDebugInfo)
в PascalABCCompiler.Compiler.SavePCU(CompilationUnit Unit, String TagertFileName)'
The text was updated successfully, but these errors were encountered:
u1.pas
:u2.pas
:u3.pas
:0.zip
При компиляции из IDE - не создаётся
u1.pcu
, а при компиляции из папки:The text was updated successfully, but these errors were encountered: