#include <iostream>
using namespace std;
class A {
A(int x) { cout << x << endl; }
};
class B : public A {
B(int x) : A(x) { cout << "b" << endl; }
};
int main() {
cout << "Hello World!" << endl;
B b(3);
}
In the simulation, an awkward large space appears before the following {. I checked in dev tools and it appears that removing a the trailing space from the html for the ctor-initializer-list fixes the issue.
Repro code:
In the simulation, an awkward large space appears before the following
{
. I checked in dev tools and it appears that removing a the trailing space from the html for the ctor-initializer-list fixes the issue.