Uploaded image for project: 'TOREE'
  1. TOREE
  2. TOREE-517

extending a class imported by wildcards

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.3.0
    • None
    • Kernel
    • None

    Description

      My problem is the following code:

      import java.util._
      class subDate extends Date {}

      For which I get the output (did not cut it):

      Name: Compile Error
      Message: <console>:13: error: not found: type Date
             class subDate extends Date {}
                                   ^
      
      StackTrace:

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lzeke Laszlo Zeke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: