Skip to content

Commit

Permalink
fixup! Generate Object getter/property macros to remove duplications (c…
Browse files Browse the repository at this point in the history
  • Loading branch information
ysbaddaden committed Jan 28, 2025
1 parent 11b8b96 commit b8e687a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate_object_properties.cr
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ struct Generator

def def_getter!
<<-TEXT
def #{@method_prefix}{{var_name}}? {% if type %} : {{type}}? \{% end %}
def #{@method_prefix}{{var_name}}? {% if type %} : {{type}}? {% end %}
#{@var_prefix}{{var_name}}
end
Expand Down

0 comments on commit b8e687a

Please sign in to comment.