diff --git a/src/compiler/crystal/syntax/ast.cr b/src/compiler/crystal/syntax/ast.cr index c91222f4c1ad..0f3029ba1e4b 100644 --- a/src/compiler/crystal/syntax/ast.cr +++ b/src/compiler/crystal/syntax/ast.cr @@ -911,10 +911,6 @@ module Crystal # 'def' [ receiver '.' ] name '(' [ arg [ ',' arg ]* ] ')' # body # 'end' - # | - # 'def' [ receiver '.' ] name arg [ ',' arg ]* - # body - # 'end' # class Def < ASTNode property free_vars : Array(String)? diff --git a/src/compiler/crystal/types.cr b/src/compiler/crystal/types.cr index e9f91747fab1..a206e6cb64f4 100644 --- a/src/compiler/crystal/types.cr +++ b/src/compiler/crystal/types.cr @@ -382,7 +382,7 @@ module Crystal record DefInMacroLookup - # Looks up a macro with the give name and matching the given args + # Looks up a macro with the given name and matching the given args # and named_args. Returns: # - a `Macro`, if found # - `nil`, if not found