Rearrangement in the synthesis of isoquinolines from benzylaminoacetonitriles