Skip to content

Conversation

@mattsse
Copy link
Member

@mattsse mattsse commented Jan 9, 2024

Closes #5633

This is a bit horrible and there can be edge cases because we can't know for certain if a modifier is actually a modifier or an inherited contract, so we do our best by checking inherited bases and assume lowercase is modifier

@mattsse mattsse requested a review from rkrasiuk as a code owner January 9, 2024 16:11
@mattsse mattsse merged commit ce5d2b5 into foundry-rs:master Jan 9, 2024
RPate97 pushed a commit to RPate97/foundry that referenced this pull request Jan 12, 2024
* fix: dont strip empty () on constructors

* else if
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

forge fmt formatting with Modifier-style base constructor call without arguments compiler error

2 participants