Merge branch 'master' of https://github.com/pascalabcnet/pascalabcnet
This commit is contained in:
commit
544b2c35ab
|
|
@ -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