Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Remove rule redundant rule method_def. #18

Merged

Conversation

hugopl
Copy link
Contributor

@hugopl hugopl commented Nov 29, 2024

Instead of having:

for code:

def foo
end

It used to generate:

(def (method_def (identifier)))

now it generates:

(def (identifier))

@hugopl hugopl force-pushed the remove-method-def-rule branch 2 times, most recently from c572e55 to 6b923b1 Compare November 29, 2024 20:08
@hugopl
Copy link
Contributor Author

hugopl commented Nov 29, 2024

rebased.

Instead of having:

for code:

```
def foo
end
```

It used to generate:

```
(def (method_def (identifier)))
```

now it generates:

```
(def (identifier))
```
@hugopl hugopl force-pushed the remove-method-def-rule branch from 6b923b1 to 3bc4c60 Compare November 29, 2024 20:09
@nobodywasishere nobodywasishere merged commit 3d1bd57 into crystal-lang-tools:main Nov 29, 2024
3 checks passed
@hugopl hugopl deleted the remove-method-def-rule branch December 3, 2024 12:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants