* Fixed template parameters to be resolved to their correct names even if they are (re)definied outside of the class (e.g. for template method definitions). * Added test code.
* Fixed template parameters to be resolved to their correct names even if they are (re)definied outside of the class (e.g. for template method definitions). * Added test code.