Paste: complex constant error with void return

Author: j
Mode: text
Date: Sun, 1 Aug 2010 03:08:58
Plain Text |
###############################
        selector.sel,
        RawPointer(imp),
        cstring(encode(ReturnType, Id, SEL, ...ArgTypes))
-----------------------^
    );
}
###############################
./objc/objc.clay(127,23): error: complex constants are not supported yet

compilation context: 
  encode(Tuple[], Static[Pointer[ObjcObject]], Static[Pointer[ObjcMethod]])
  cstring(Vector[Char])
  addMethod(Pointer[ObjcObject], Selector[ValueHolder(Tuple[])], CCodePointer[(Pointer[ObjcObject], Pointer[ObjcMethod]), ()])
  addMethods(Pointer[ObjcObject], Tuple[Selector[ValueHolder(Tuple[])], CCodePointer[(Pointer[ObjcObject], Pointer[ObjcMethod]), ()]])
  MakeClass(StringConstant, Pointer[ObjcObject], Tuple[Tuple[Selector[ValueHolder(Tuple[])], CCodePointer[(Pointer[ObjcObject], Pointer[ObjcMethod]), ()]]], Tuple[Tuple[Selector[Pointer[ObjcObject]], CCodePointer[(Pointer[ObjcObject], Pointer[ObjcMethod]), (Pointer[ObjcObject])]]])

New Annotation

Summary:
Author:
Mode:
Body: