fixed: Unopened namespaces resolver inserts open statement above namespace if there are no other open declarations