Hi

module main;
class Foo(string s) {}
final class Bar(string s) {} // Error

The compiler says:
variable main.s final cannot be applied to variable

Why is this forbidden?

Nicolas
(DMD 2.022 - Linux)

Reply via email to