For the following kind of associate block, the parser fails with "ValueError: not enough values to unpack (expected 2, got 1)". The bracketed array [..] is not parsed correctly and the split to new/old fails in "class Associations" in "def add_batch".
Here is a small example module, which triggers the error:
module mod
implicit none
private
contains
subroutine test()
associate(phi => [1,2])
end associate
end subroutine test
end module mod
For the following kind of associate block, the parser fails with "ValueError: not enough values to unpack (expected 2, got 1)". The bracketed array [..] is not parsed correctly and the split to new/old fails in "class Associations" in "def add_batch".
Here is a small example module, which triggers the error: