Write to the SR about it. They claim (not me) that there is a bug and it will be fixed.
You originally stated the bug - can you explain what it is? What is wrong with it? Here is the simplified code:
class A1 {}; //Indicatorsclass A2 {}; //Indicatorclass BB {
public:
void f( A1 * ) {}
};
class B : public BB {
public:
void f( A1 * ) {}
};
voidOnStart()
{
A2* a;
B b;
b.f( a ); //error: 'f' - no one of the overloads can be applied to the function call
}
// Добавление элемента в конец произвольного массиваtemplate <typename T>
void AddArrayElement( T &Array[], T Value, constint Reserve = 0 )
{
constint Size = ArraySize(Array);
ArrayResize(Array, Size + 1, Reserve);
Array[Size] = Value;
}
class A {};
class B : public A {};
voidOnStart()
{
A* Array[];
A* a = new B; // no problem
AddArrayElement(Array, (A*)(new B)); // no problem
AddArrayElement(Array, new B); // template parameter ambiguous, could be 'A*' or 'B*'
}
Language bug
A bug in user code is not a bug: the InitIndicators(CIndicator *) method is missing
The error in the user code is not a bug: the InitIndicators(CIndicator *) method is missing
The letter s is missing, but the compiler message is erroneous, so the SD has taken to fixing it.
The SDs have taken up the task of fixing it.
You cannot fix something that does not contain an error. Look in file <Indicator.mqh> - there will be class CIndicator without letter s
Write to the SR about it. They claim (not me) that there is an error and it will be corrected.
Write to the SR about it. They claim (not me) that there is a bug and it will be fixed.
You originally stated the bug - can you explain what it is? What is wrong with it? Here is the simplified code:
Write to the SR about it. They claim (not me) that there is an error and it will be corrected.
The compiler treats virtual method override as an overload, we will fix it.
Is it a bug?
How do I know the name of a file from its handle?