Closed rakhimov closed 9 years ago
I've merged your tests and fixed them.
This time with a bit different approach. Instead of adding another state, I added a OneInitializerState class as a 'Command Pattern'. I think I'm going to gradually refactor the code to use State classes instead of state method. It's easier to remove duplicated functionalities, have nested structure, and keep a local state.
Tests are examples for issue #64. If a member variable or base class is initialized with an initializer list or uniform initialization within the initialization list, the constructor is parsed as multiple function definition.