Difference between revisions of "ChucK/Bugs/Known"

From CSWiki
Jump to: navigation, search
 
Line 15: Line 15:
 
         void fun foo() { <<< "hi" >>>; }
 
         void fun foo() { <<< "hi" >>>; }
 
     }
 
     }
 
+
   
 
     X x;
 
     X x;
 
+
   
 
     // bug: causes crash and undefined behavior
 
     // bug: causes crash and undefined behavior
 
     spork ~ x.foo();
 
     spork ~ x.foo();

Revision as of 21:12, 15 July 2006

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:
   int a, 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();