Leica: fix typo in primitive type creation