Beef icon indicating copy to clipboard operation
Beef copied to clipboard

Implement 'sealed'

Open bfiete opened this issue 5 years ago • 3 comments

bfiete avatar Jul 11 '20 14:07 bfiete

Implemented in the current version of Beef.

RogueMacro avatar Feb 04 '21 13:02 RogueMacro

Implemented in the current version of Beef.

I don't think so, this code still compiles without problems:

	public class TestV
	{
		public virtual void AAA()
		{

		}
	}

	public sealed class Tesc : TestV
	{
		public override void AAA()
		{
		}
	}

	public sealed class Tescx : Tesc
	{
		public override void AAA()
		{
		}
	}

Igoorx avatar Feb 04 '21 16:02 Igoorx

Ah, you're right. I just assumed it was implemented since it didn't generate any errors or warnings.

RogueMacro avatar Feb 04 '21 16:02 RogueMacro