Relative imports broken

The plugin doesn't seem to recognize relative imports after updating to the latest (0.2.26322) maia plugin.

For example following works fine:

import com.foo.app.MyClass

and this does not

import app.MyClass

评论操作 固定链接

This is not bug. This is a feature.
Relative imports is removed from scala 2.8, so if you replace all your imports, then you will be more ready to use scala 2.8 after release.
You also can use 2.8 trunk compiler, then you can use relative imports in such way:

package com
package foo
package newPackage

import app.MyClass




instead of:

package com.foo

import com.foo.app.MyClass




Best regards,
Alexander Podkhalyziun.

0

请先登录再写评论。