alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Scala example source code file (bug3714-neg.check)

This example Scala source code file (bug3714-neg.check) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Scala tags/keywords

access, access, breakimpl, breakimpl, test, test

The Scala bug3714-neg.check source code

bug3714-neg.scala:17: error: value break in class BreakImpl cannot be accessed in BreakImpl
 Access to protected value break not permitted because
 enclosing class object Test is not a subclass of 
 class BreakImpl where target is defined
    case b: BreakImpl => b.break
                           ^
bug3714-neg.scala:25: error: value break in class BreakImpl cannot be accessed in BreakImpl
 Access to protected value break not permitted because
 enclosing class object Test is not a subclass of 
 class BreakImpl where target is defined
    case b: BreakImpl => b.break
                           ^
two errors found

Other Scala examples (source code examples)

Here is a short list of links related to this Scala bug3714-neg.check source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

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.