problem using dll with namespace compiled with cobra
Posted: Sun Dec 07, 2008 5:52 pm
How to reproduce:
file: somenamespace.cobra
compile with
file: test.cobra
compile with
I get verbose internal error (attached: )
file: somenamespace.cobra
namespace SomeNamespace
class SomeType
pass
compile with
- Code: Select all
cobra -ert:yes -t:lib somenamespace.cobra
file: test.cobra
use SomeNamespace
class Program
def main is shared
t = SomeType()
compile with
- Code: Select all
cobra -ert:yes test.cobra
I get verbose internal error (attached: )