typecheck.bpl(33,9): Error: Only simple assignment allowed on linear variable b typecheck.bpl(35,6): Error: Only variable can be assigned to linear variable a typecheck.bpl(37,6): Error: Only linear variable can be assigned to linear variable a typecheck.bpl(41,6): Error: Linear variable of domain D2 cannot be assigned to linear variable of domain D typecheck.bpl(47,9): Error: Linear variable x can occur only once in the right-hand-side of an assignment typecheck.bpl(51,4): Error: Linear variable a can occur only once as an input parameter typecheck.bpl(53,4): Error: Only variable can be passed to linear parameter b typecheck.bpl(55,4): Error: The domains of formal and actual parameters must be the same typecheck.bpl(57,4): Error: The domains of formal and actual parameters must be the same typecheck.bpl(59,4): Error: Only a linear argument can be passed to linear parameter a typecheck.bpl(64,4): Error: Linear variable a can occur only once as an input parameter of a parallel call typecheck.bpl(73,0): Error: Output variable d must be available at a return typecheck.bpl(82,0): Error: Global variable g must be available at a return typecheck.bpl(87,7): Error: unavailable source for a linear read typecheck.bpl(88,0): Error: Output variable r must be available at a return 15 type checking errors detected in typecheck.bpl