fix condition (#3434)
This commit is contained in:
parent
7c31caa0b7
commit
e07d9a21ce
|
|
@ -3027,7 +3027,8 @@ namespace PascalABCCompiler.TreeRealization
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (!_compiled_type.IsGenericParameter || _compiled_type.DeclaringMethod == null)
|
// если _compiled_type.DeclaringMethod != null то параметр был объявлен для generic метода, а не generic класса
|
||||||
|
if (!_compiled_type.IsGenericParameter || _compiled_type.DeclaringMethod != null)
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue