Have had an FO do this to me. I had flown with him many times and he never made a remotely similar error before or after. I can only put it down to a "brain fart".
After a long day I did it to my FO. Luckely on the 1-11 the flaps took so long to completely retract that I had time to reset before any probs.