Laszlo Zeke created TOREE-517:
---------------------------------

             Summary: extending a class imported by wildcards
                 Key: TOREE-517
                 URL: https://issues.apache.org/jira/browse/TOREE-517
             Project: TOREE
          Issue Type: Bug
          Components: Kernel
    Affects Versions: 0.3.0
            Reporter: Laszlo Zeke


My problem is the following code:
{code:java}
import java.util._
class subDate extends Date {}{code}
For which I get the output (did not cut it):
{noformat}
Name: Compile Error
Message: <console>:13: error: not found: type Date
       class subDate extends Date {}
                             ^

StackTrace:{noformat}
Even though obviously Date should be in scope (double checked it so {{var date: 
Date = new Date()}} does work perfectly.

I used the 0.3.0 installed by pip with jupyter.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to