Advertisement
Guest User

Untitled

a guest
Nov 27th, 2015
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. //Inside project A
  2. trait X
  3.  
  4. class A
  5. extends X //commenting this line affacting ClassAsGenericBoundUsage on X
  6.  
  7. //Inside project B that depends on A
  8. class B {
  9. def foo: Option[X] = None //this has ClassAsGenericBoundUsage on X
  10. }
  11.  
  12. //Inside project C that depends on A
  13. class C {
  14. def foo: X = ??? //this hasn't got ClassAsGenericBoundUsage on X
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement