Hi,
I've discovered this morning that melee abilities work even with a range weapon, and range abilities work with a melee weapon aswell (by exemple, incendiary strike (pistol) work with a melee weapon). Not sure it's a bug or a recent change and it's intended to work like this.