-
Followers
Miles Sabin (Assigned To)
AttachmentsNo attachmentsAssociationsNo associationsActivityon Aug 31, 2010 @ 11:21AM UTC * By Miles Sabin
Does this compile correctly using scalac on the command line?
on Aug 31, 2010 @ 05:13PM UTC * By huiwen.han
Yes ,it can compile correctly using scalacon Aug 31, 2010 @ 06:18PM UTC * By Miles Sabin
Status changed from New to InvalidTime ExpenditureLoading


import org.specs.Specification
abstract class ConfiguredSpecification extends Specification {
try {
Configgy.configure("config/test.conf")
} catch {
case ex: Exception => ex.printStackTrace()
}
lazy val config = Configgy.config
}
error message:
Description Resource Path Location Type
illegal inheritance; self-type com.xxx.webahead.steer.gizzard.preference.ConfiguredSpecification does not conform to org.specs.Specification's selftype org.specs.Specification ConfiguredSpecification.scala /gizzard_prefz/src/test/scala/com/xxx/webahead/steer/gizzard/preference line 6 Scala Problem
Multiple markers at this line
- org.specs.Specification does not have a constructor
- illegal inheritance; self-type com.xxx.webahead.steer.gizzard.preference.ConfiguredSpecification does not conform to org{org.type}.specs
{org.specs.type}.Specification's selftype org.specs.Specification
- org.specs.Specification does not have a constructor
- illegal inheritance; superclass Specification is not a subclass of the superclass Object of the mixin trait ScalaObject
- illegal inheritance; self-type com.xxx.webahead.steer.gizzard.preference.ConfiguredSpecification does not conform to org.specs.Specification's
selftype org.specs.Specification
- illegal inheritance; superclass Specification is not a subclass of the superclass Object of the mixin trait ScalaObject