aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/pos/t4547.scala
blob: b771c6967116bef1c2ccedaf0b5a96b7f8182b90 (plain) (tree)
1
2
3
4



                                                                                                                                                                                          
object Main {
  def g: BigInt = 5 + BigInt(4) // since we're looking for an implicit that converts an int into something that has a + method that takes a BigInt, BigInt should be in the implicit scope
  def g2 = 5 + BigInt(4)
}