beremiz

efdefbad49eb
runtime: fix bugs introduced in previous commit, and refactor some code
input,TestOut,2,int,2,Double,0
output,TestIn,2,int,3,Double,0