tools icon indicating copy to clipboard operation
tools copied to clipboard

🐛 Parenthesized `extends` clause with type arguments

Open MichaReiser opened this issue 3 years ago • 2 comments

Environment information

Latest rome version from main.

What happened?

Rome fails to parse a parenthesized extends clause with a parametrized type:

class ExtendsAbstractClassAndImplementsInterfaces4 extends (
	AAAAAAAAAAAAAAbstractClass<A>
) {}

Playground

Expected result

To parse without any parsing errors

Code of Conduct

  • [X] I agree to follow Rome's Code of Conduct

MichaReiser avatar Jun 20 '22 13:06 MichaReiser

This issue is stale because it has been open 14 days with no activity.

github-actions[bot] avatar Sep 15 '22 12:09 github-actions[bot]

This issue is stale because it has been open 14 days with no activity.

github-actions[bot] avatar Oct 05 '22 12:10 github-actions[bot]

Seems fine on latest version.

MichaReiser avatar Oct 31 '22 07:10 MichaReiser