Character literal substrings used as arguments were causing asserts. This
happened when the code was trying to get the DynamicType of the substring. We
were only recording the DynamicType of the Designator on which the substring
was based. For character literal substrings, the Designator was a character
literal, and we weren't handling getting its type.
I fixed this by changing the GetType() method for DynamicType to check to
see if we were getting the type of a Substring and calculating the type of
the substring by getting the number of bytes in an element of the string.
I also changed the test resolve49.f90 with some tests, one of which causes
the original crash.