|
Scala example source code file (bug1183.check)
The Scala bug1183.check source code
bug1183.scala:10: error: name clash: class Foo defines object Baz
and its companion object Foo also defines class Baz
object Baz
^
bug1183.scala:11: error: name clash: class Foo defines class Bam
and its companion object Foo also defines object Bam
class Bam
^
bug1183.scala:12: error: name clash: class Foo defines object Bar
and its companion object Foo also defines class Bar
object Bar
^
bug1183.scala:13: error: name clash: class Foo defines class Bar
and its companion object Foo also defines class Bar
case class Bar(i:Int)
^
four errors found
Other Scala examples (source code examples)Here is a short list of links related to this Scala bug1183.check source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.