diff options
author | Paul Phillips <paulp@improving.org> | 2012-07-28 11:57:27 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-07-28 11:57:27 -0700 |
commit | 5988121127ec17e4cc76dd49bc7847fc56a08336 (patch) | |
tree | e8485b0da5e1c1c698c11d55d5b10b5c216636ec /test/files | |
parent | 1f95d356ee69a442f98aedc024a1aa7e4672d20a (diff) | |
parent | ed915c54cc8b3575ed3245c5793bfb051b5e98c1 (diff) | |
download | scala-5988121127ec17e4cc76dd49bc7847fc56a08336.tar.gz scala-5988121127ec17e4cc76dd49bc7847fc56a08336.tar.bz2 scala-5988121127ec17e4cc76dd49bc7847fc56a08336.zip |
Merge pull request #1010 from odersky/ticket/6029
Closed SI-6029 ...
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/t6029.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/pos/t6029.scala b/test/files/pos/t6029.scala new file mode 100644 index 0000000000..8f1bbb4ebf --- /dev/null +++ b/test/files/pos/t6029.scala @@ -0,0 +1,3 @@ +final case class V[A](x: A) extends AnyVal { + def flatMap[B](f: A => V[B]) = if (true) this else f(x) +} |