make KissState optional in parseComplexType()
This commit is contained in:
@@ -76,7 +76,8 @@ class Helpers {
|
|||||||
return tokens.join("");
|
return tokens.join("");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function parseComplexType(path:String, k:KissState, ?from:ReaderExp, mustResolve=false):ComplexType {
|
public static function parseComplexType(path:String, ?k:KissState, ?from:ReaderExp, mustResolve=false):ComplexType {
|
||||||
|
if (k != null)
|
||||||
path = replaceTypeAliases(path, k);
|
path = replaceTypeAliases(path, k);
|
||||||
|
|
||||||
// Trick Haxe into parsing it for us:
|
// Trick Haxe into parsing it for us:
|
||||||
|
|||||||
Reference in New Issue
Block a user