[fpc-devel] Getting built-in string type

Ryan Joseph ryan at thealchemistguild.com
Thu Feb 28 14:27:43 CET 2019

I think that last message came through but I didn’t see what I quoted. Here’s the original question:

In my implicit generic specialization code I have one place where I get a string const node (stringconstn) which the resultdef is arraydef (not stringdef like I would expect). I then need to substitute this for a typesym so I can match the function parameters but how do we I find a typesym for the string type?

Currently I’m using searchsym_type but hardcoding the type name is probably not the right solution. 

	Ryan Joseph

More information about the fpc-devel mailing list