Delegates with varargs are not supported
Submitted by Henrik /KaarPoSoft
Link to original bug (#640388)
Description
delegate void FooFunc (string msg, ...);
void foo (string msg, ...) {
}
void main () {
FooFunc f = foo;
}
** (valac:24112): CRITICAL **: 18:02:37.891: vala_data_type_get_actual_type: assertion 'self != NULL' failed
** (valac:24112): CRITICAL **: 18:02:37.891: vala_data_type_stricter: assertion 'self != NULL' failed
test.vala:8.10-8.16: error: Assignment: Cannot convert from `foo' to `FooFunc'
FooFunc f = foo;
^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
Edited by Rico Tzschichholz