This commit is contained in:
parent
2883c1241a
commit
c5cc20572a
5
TestSuite/generics67.pas
Normal file
5
TestSuite/generics67.pas
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{$reference 'ns.dll'}
|
||||
begin
|
||||
var v1:= new ns.c2;
|
||||
v1.Name&<integer>();
|
||||
end.
|
||||
BIN
TestSuite/ns.dll
Normal file
BIN
TestSuite/ns.dll
Normal file
Binary file not shown.
|
|
@ -5219,7 +5219,7 @@ namespace PascalABCCompiler.TreeConverter
|
|||
foreach (SymbolInfo func in funcs)
|
||||
{
|
||||
function_node f = func.sym_info as function_node;
|
||||
if (f.is_generic_function)
|
||||
if (f != null && f.is_generic_function)
|
||||
{
|
||||
//Проверяем на совпадение
|
||||
bool found = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue