Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Multiple method bodies raises warning 49 but should not if body has no extra code #1488
Only one method body is allowed in a method (per language). However in the following code m1 has three separate declarations and all three are legitimate since the last two introduce only constraints. If a method block only adds constraints or testcases (etc.) i.e. no new executable code, then warning 49 should be suppressed. This will allow, among other things, separate mixins with different constraints, and separation of testcases from the main declaration of the method.