Open ghaith opened 2 months ago
We should add a validation to prevent/warn the user when accessing a hardware variable in the wrong direction i.e Reading an I variable or writing a Q variable
Originally posted by @mhasel in https://github.com/PLC-lang/rusty/issues/1265#issuecomment-2326415624
Q is always bidirectional and is also allowed to be read and should not produce any error or warning. I should be an error when tryed to be written to
We should add a validation to prevent/warn the user when accessing a hardware variable in the wrong direction i.e Reading an I variable or writing a Q variable
Originally posted by @mhasel in https://github.com/PLC-lang/rusty/issues/1265#issuecomment-2326415624