Skip to content

Commit

Permalink
remove generic params when getting fullPath
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Jan 20, 2024
1 parent b78aa8e commit 8629698
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion haxe/ui/macros/helpers/ClassBuilder.hx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,12 @@ class ClassBuilder {
public var fullPath(get, null):String;
private function get_fullPath():String {
#if macro
return TypeTools.toString(type);
var s = TypeTools.toString(type);
var n = s.indexOf("<");
if (n != -1) {
s = s.substring(0, n);
}
return s;
#else
return null;
#end
Expand Down

0 comments on commit 8629698

Please sign in to comment.