Changed how constructors are searched for
Changed how constructors are searched for

Instead of looking through the list of global types (gTypes), the global list of
functions (gFns) is searched.  A function is considered to be a constructor if
it has the default constructor flag, or if it has the wrapper, inline, and
invisible function flags.  Going through gTypes led to types that were bogus,
and some of these types could not be distinguished from non-bogus ones.


git-svn-id: 88467cb1fb04b8a755be7e1ee1026be4190196ef@14762 3a8e244f-b0f2-452b-bcba-4c88e055c3ca

sungeunchoi/chapel,sungeunchoi/chapel,sungeunchoi/chapel,chizarlicious/chapel,hildeth/chapel,chizarlicious/chapel,chizarlicious/chapel,chizarlicious/chapel,sungeunchoi/chapel,CoryMcCartan/chapel,chizarlicious/chapel,CoryMcCartan/chapel,chizarlicious/chapel,CoryMcCartan/chapel,hildeth/chapel,CoryMcCartan/chapel,CoryMcCartan/chapel,hildeth/chapel,CoryMcCartan/chapel,hildeth/chapel,chizarlicious/chapel,hildeth/chapel,sungeunchoi/chapel,sungeunchoi/chapel,sungeunchoi/chapel,hildeth/chapel,sungeunchoi/chapel,CoryMcCartan/chapel,hildeth/chapel