FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compiler Bug in MiniD2?

 
Post new topic   Reply to topic     Forum Index -> MiniD
View previous topic :: View next topic  
Author Message
Ligustah



Joined: 21 Oct 2007
Posts: 45
Location: Berlin, Germany

PostPosted: Wed Jun 11, 2008 11:40 am    Post subject: Compiler Bug in MiniD2? Reply with quote

Hi,

i played with MiniD2, really cool Very Happy
However,
i found out that this code:
Code:
function test(blubb)
{
   import ("test_" ~ blubb)
}


Seems to crash the compiler:
Quote:
tango.core.Exception.AssertException@minid\compiler.d(2084): reg not freed in order


I'm not sure whether this is a compiler bug or if the MiniD code above is just invalid.
Well,
it's your turn to find out Razz

Mfg Ligustah
Back to top
View user's profile Send private message
JarrettBillingsley



Joined: 20 Jun 2006
Posts: 457
Location: Pennsylvania!

PostPosted: Wed Jun 11, 2008 3:14 pm    Post subject: Reply with quote

Any time you get an assertion failure, it's a bug :S

Fixed it, you can update Smile
Back to top
View user's profile Send private message
Ligustah



Joined: 21 Oct 2007
Posts: 45
Location: Berlin, Germany

PostPosted: Thu Jun 12, 2008 5:28 am    Post subject: Reply with quote

Thanks,

Bug-hunting FTW! Very Happy

Ligustah
Back to top
View user's profile Send private message
Aphadon



Joined: 16 Aug 2007
Posts: 9

PostPosted: Thu Jun 12, 2008 12:03 pm    Post subject: Reply with quote

I dont get MD2 compiled...but I thought its compilable?
Simply doing 'dsss build minid':
Code:
minid\bind.d(696): Error: identifier 'MDClass' is not defined
minid\bind.d(696): Error: MDClass is used as a type
minid\bind.d(696): class minid.bind.WrappedClass base type must be class or interface, not void
...
and so on


I got it from here http://www.dsource.org/projects/minid/browser/branches/v2
Back to top
View user's profile Send private message
Ligustah



Joined: 21 Oct 2007
Posts: 45
Location: Berlin, Germany

PostPosted: Thu Jun 12, 2008 2:40 pm    Post subject: Reply with quote

The bind library has to be ported yet.
Just exclude that file from compilation and it should all work fine.

Ligustah
Back to top
View user's profile Send private message
Aphadon



Joined: 16 Aug 2007
Posts: 9

PostPosted: Thu Jun 12, 2008 2:57 pm    Post subject: Reply with quote

Thanks, got it working.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> MiniD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group