ChucK/Bugs/Known

From CSWiki
Revision as of 21:13, 15 July 2006 by Gewang (talk | contribs)

Jump to: navigation, search

Known Bugs in ChucK


These following have been verified and will be fixed in an upcoming release.

  • multiple declarations in single statement causes crashes/undefined behavior. Example:
   // bug: this causes bad things to happen
   int a, b;
   // workaround
   int a; int b;


  • spork a non-static member function causes crashes/undefined behavior. Example:
   class X
   {
       void fun foo() { <<< "hi" >>>; }
   }
   
   X x;
   
   // bug: causes crash and undefined behavior
   spork ~ x.foo();