A conviction cannot be had after the repeal of a statute on which an indictment is based, unless the repealing act contains a provision for that purpose.19 The power to render judgment in a criminal cause is limited to a constitutional trial. If a statute is invalid or unconstitutional, then an indictment based thereon is void, and a conviction would necessarily be void.

15 Crosby vs. People, 137 Ill., 342; State vs. Johnson, 40 Conn., 136; Addisson vs. People, 193 Ill., 405-409; Collins vs. People, 194 Ill., 520.

16 Ingalls vs. State, 48 Wis., 647.

17 Rafferty vs. People, 66 Ill., 124.

18 Love vs. People, 160 Ill., 508;

Conner vs. People, 18 Colo., 373; People vs. McCord, 76 Mich., 200.