Project

General

Profile

Actions

Architecture #11969

closed

Architecture #11955: Remove most scala compilation warning

Remove "non-uniry def overrides unary def"

Added by François ARMAND almost 7 years ago. Updated almost 7 years ago.

Status:
Released
Priority:
N/A
Category:
Architecture - Code maintenance
Target version:
Effort required:
Name check:
Fix check:
Regression:

Description

In Scala, you are able to do:


trait Foo { def bar: String }
class C extends Foo { override dev bar(): String = ???

Which makes little sense, and rise a warning.

Remove these cases.

Actions

Also available in: Atom PDF