GenericParameter should be type_name rather than ident. Modify syntax(borrow from D Programming Language): f!(int*)(1) means f<int*>(1).