Project

General

Profile

Actions

Architecture #11970

closed

Architecture #11955: Remove most scala compilation warning

Some more warning with -Ywarn-unused:...

Added by François ARMAND over 6 years ago. Updated about 6 years ago.

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

Description

I removed some more warning with some more -Y option. Now, one can use:

-deprecation -explaintypes -feature -unchecked -Ypartial-unification  -language:existentials -language:higherKinds -language:implicitConversions 
-Xlint:_,-nullary-unit,-missing-interpolator -Yno-adapted-args -Ywarn-dead-code -Ywarn-extra-implicit -Ywarn-inaccessible -Ywarn-infer-any 
-Ywarn-nullary-override -Ywarn-numeric-widen -Ywarn-unused:imports -Ywarn-unused:locals -Ywarn-unused:privates

And still only get the 5 deprecation warning that are hard to remove.

(we can't yet add these option to our main scala build because rudder-commons / scala-ldap / ldap-inventory have a lot of warnings)

Actions #1

Updated by François ARMAND over 6 years ago

  • Status changed from New to In progress
Actions #2

Updated by François ARMAND over 6 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/1830
Actions #3

Updated by Rudder Quality Assistant over 6 years ago

  • Assignee changed from Vincent MEMBRÉ to François ARMAND
Actions #4

Updated by François ARMAND over 6 years ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Vincent MEMBRÉ about 6 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.3.0~beta1 which was released today.

Actions

Also available in: Atom PDF