Skip to content

Commit

Permalink
Don't inline iter() anymore.
Browse files Browse the repository at this point in the history
It's starting to get long enough that I'd worry about code size, though that's just a gut estimate.
  • Loading branch information
player-03 committed Oct 8, 2024
1 parent db6f959 commit f2b62e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/echoes/macro/ViewBuilder.hx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ class ViewBuilder {
onRemoved.clear();
}

public inline function iter(callback:$callbackType):Void {
public function iter(callback:$callbackType):Void {
${ {
final args = [for(i => component in components)
{ name: "component" + i, type: component }];
Expand Down

0 comments on commit f2b62e9

Please sign in to comment.