Fix substring error with generics in typeCase
This commit is contained in:
@@ -1472,7 +1472,7 @@ class Macros {
|
|||||||
names.push(nameSymbol);
|
names.push(nameSymbol);
|
||||||
types.push(type);
|
types.push(type);
|
||||||
if (type.contains("<")) {
|
if (type.contains("<")) {
|
||||||
type = type.substr(type.indexOf("<"));
|
type = type.substr(0, type.indexOf("<"));
|
||||||
}
|
}
|
||||||
typesWithoutGenerics.push(type);
|
typesWithoutGenerics.push(type);
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user