module mod1
imports common

module mod2
imports ../common

At the moment this is allowed in the SDF and sometimes works. But because all imports are resolved relative of the -I flags, this should be disallowed.

Submitted by Rob Vermaas on 4 May 2010 at 15:01

On 28 May 2010 at 17:18 Lennart Kats commented:

Another variation of this is ./common. Some even use ./-.

Log in to post comments