Skip to content

3.1.2 compiler emits an error - Type argument B does not conform to lower bound String for export of a Seq value #14953

Closed
@chungonn

Description

@chungonn

The following code compiles in Scala 3.1.1 and with Scala 3.1.2, the compiler emits the following error - Type argument B does not conform to lower bound String

object Test{
  
  val xs: Seq[String] = List("Apple", "Orange", "Pear")
  export xs.*
  
} 

Test.head

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions