Patty has a deprecation error about the usage of the {.immediate.} pragma here
This macro, that returns a statement list, should generate a few declarations: types, associated procedures and so on. It works fine by using {.immediate.}, but I am not sure what would replace it after deprecation