"Johannes Pfau" wrote in message news:lhp8h4$2j38$1...@digitalmars.com...
But we'd want this to work/inline nevertheless, right?: ------------ void test(const(char)[] a) { } char[] abc; test(abc); ------------ Then we still need to tell GCC that const(char)[] is a variant of char[] or it won't inline.
Can you just strip all const/immutable/etc when the type is passed to the backend?