Swap values of 2 keys, with compile time type check for compatibility
Swap values of 2 keys, with compile time type check for compatibility
swapt, 'a', 'b'; swapt, 'a', 'c'; //error swapt, 'b', 'c'; //error swapt, 'a', 'a'; //error swapt, 'c', 'c1'; swapt, 'd','e'; swapt, 'd','f'; //error swapt, 'd','g'; //error