I think this is related to Using module variables as dimensions in function arguments. In your example you are using a module variable to define array size in an interface. It’s allowed for regular subroutines, so I am guessing it is allowed in an interface too.
1 Like