Fix embarrassing bug where TypeSpec::elementtype() just didn't work.
Fix embarrassing bug where TypeSpec::elementtype() just didn't work.


git-svn-id: 93cebb81a0f5cc00f31a7ad40d16024532691b70@222 a3683778-fedd-11de-87c3-653bb6514e15

gzorin/OpenShadingLanguage,Anteru/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,aconty/OpenShadingLanguage,lgritz/OpenShadingLanguage,gzorin/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,aconty/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,juvenal/OpenShadingLanguage,imageworks/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,imageworks/OpenShadingLanguage,imageworks/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,juvenal/OpenShadingLanguage,lgritz/OpenShadingLanguage,brechtvl/OpenShadingLanguage,mcanthony/OpenShadingLanguage,Anteru/OpenShadingLanguage,imageworks/OpenShadingLanguage,brechtvl/OpenShadingLanguage,imageworks/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,lgritz/OpenShadingLanguage,gzorin/OpenShadingLanguage,gzorin/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,sjparker/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,rlmh/OpenShadingLanguage,sjparker/OpenShadingLanguage,juvenal/OpenShadingLanguage,Anteru/OpenShadingLanguage,mcanthony/OpenShadingLanguage,brechtvl/OpenShadingLanguage,svenstaro/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,Anteru/OpenShadingLanguage,lgritz/OpenShadingLanguage,mcanthony/OpenShadingLanguage,aconty/OpenShadingLanguage,svenstaro/OpenShadingLanguage,svenstaro/OpenShadingLanguage,mcanthony/OpenShadingLanguage,sjparker/OpenShadingLanguage,juvenal/OpenShadingLanguage,brechtvl/OpenShadingLanguage,lgritz/OpenShadingLanguage,rlmh/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,aconty/OpenShadingLanguage,gzorin/OpenShadingLanguage,rlmh/OpenShadingLanguage,aconty/OpenShadingLanguage,rlmh/OpenShadingLanguage,brechtvl/OpenShadingLanguage,svenstaro/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,sjparker/OpenShadingLanguage,fpsunflower/OpenShadingLanguage