исправлена ошибка в выборе перегруженных методов расширений
This commit is contained in:
parent
5af89551a9
commit
60df2a54b6
|
|
@ -1,6 +1,5 @@
|
|||
"..\utils\NSIS\Unicode\makensis.exe" PascalABCNETMini.nsi
|
||||
"..\utils\NSIS\Unicode\makensis.exe" PascalABCNETStandart.nsi
|
||||
"..\utils\NSIS\Unicode\makensis.exe" PascalABCNETWithDotNet.nsi
|
||||
"..\utils\NSIS\Unicode\makensis.exe" BFParser.nsi
|
||||
PascalABCNETConsoleZIP.bat
|
||||
PascalABCNETMonoZIP.bat
|
||||
|
|
@ -5265,7 +5265,27 @@ namespace PascalABCCompiler.TreeConverter
|
|||
//lroman//
|
||||
#endregion
|
||||
|
||||
function_node fn = convertion_data_and_alghoritms.select_function(exprs, si, subloc, syntax_nodes_parameters);
|
||||
function_node fn = null;
|
||||
if (!skip_first_parameter || si.Next == null)
|
||||
fn = convertion_data_and_alghoritms.select_function(exprs, si, subloc, syntax_nodes_parameters);
|
||||
else
|
||||
{
|
||||
try
|
||||
{
|
||||
fn = convertion_data_and_alghoritms.select_function(exprs, si, subloc, syntax_nodes_parameters);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
if (skip_first_parameter)
|
||||
{
|
||||
si = tmp_si;
|
||||
exprs.remove_at(0);
|
||||
fn = convertion_data_and_alghoritms.select_function(exprs, si, subloc, syntax_nodes_parameters);
|
||||
}
|
||||
else
|
||||
throw ex;
|
||||
}
|
||||
}
|
||||
SemanticTree.IGenericInstance igi = fn as SemanticTree.IGenericInstance;
|
||||
if (igi != null)
|
||||
{
|
||||
|
|
|
|||
BIN
bin/TestRunner.exe
Normal file
BIN
bin/TestRunner.exe
Normal file
Binary file not shown.
Loading…
Reference in a new issue