If a skill is attempted to be assigned to a highlit lemming who cannot currently receive the skill, the assignment is discarded (unlike a regular assignment, which would get queued).
Fixed in commit 714d857. This is likely one to watch out for side effects of.