Skip to content

Warnings Fail: Object does not trigger warning #229

Description

@VladUreche

Why don't we get a warning that MyNumeric[T] should be miniboxed?

$ cat gh-bug-229.scala 
package streams

trait MyNumeric[T]
object LongIsMyNumeric extends MyNumeric[Long]
object IntIsMyNumeric extends MyNumeric[Int]

$ mb-scalac gh-bug-229.scala 

@biboudis: This is what you were seening.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions