Support for pointers in string templates
Submitted by pancake
Link to original bug (#617533)
Description
Templated strings does not support pointer types (%p)
Here's a sample code to exemplify the idea..
void main() {
int foo;
void *ptr = &foo;
print (@"Ptr is $(ptr)\n");
}
t.vala:4.21-4.23: error: The name `to_string' does not exist in the context of `void*'
print (@"Ptr is $(ptr)\n");
^^^
Compilation failed: 1 error(s), 0 warning(s)
Edited by Rico Tzschichholz