ableC icon indicating copy to clipboard operation
ableC copied to clipboard

Incorrect handling of qualifiers for pointers in typeAssignableTo

Open krame505 opened this issue 8 years ago • 0 comments

This should be a subsetting relation, but right now we are checking that all qualifiers are identical. This means that something like

char *a;
const char *b = a;

is considered an error, while this should really be legal. As a temporary workaround in the feature/templating branch, I am disabling checking of qualifiers on pointers completely.

krame505 avatar Mar 15 '17 16:03 krame505