Missing error for class implementing package

Issue #193 resolved
Jesper Öqvist created an issue

ExtendJ 8.0.1-161-g2081568 Java SE 8

A class may not implement a package, however the following test case gives no error when compiled with ExtendJ:

// Package name used as a typename.
// A class may not implement a package.
// .result: COMPILE_FAIL
package org.extendj;

public class Test implements org.extendj {

Comments (1)

  1. Jesper Öqvist reporter

    Report errors for uses of unknown qualified types

    Improved error checking for type accesses to handle unknown qualified types.

    Adjusted the error messages for the inaccessible type error and the ambiguous type error.

    fixes #192 (bitbucket) fixes #193 (bitbucket) fixes #194 (bitbucket) fixes #195 (bitbucket) fixes #196 (bitbucket)

    → <<cset 53debda90fb3>>

  2. Log in to comment