"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/dmd/semantic3.d" between
dmd-2.094.1.tar.gz and dmd-2.094.2.tar.gz

About: DMD (Digital Mars D) is the D reference compiler. D is an object-oriented, imperative, multi-paradigm system programming language.

semantic3.d  (dmd-2.094.1):semantic3.d  (dmd-2.094.2)
skipping to change at line 1473 skipping to change at line 1473
sc2.pop(); sc2.pop();
// don't do it for unused deprecated types // don't do it for unused deprecated types
// or error ypes // or error ypes
if (!ad.getRTInfo && Type.rtinfo && (!ad.isDeprecated() || global.params .useDeprecated != DiagnosticReporting.error) && (ad.type && ad.type.ty != Terror )) if (!ad.getRTInfo && Type.rtinfo && (!ad.isDeprecated() || global.params .useDeprecated != DiagnosticReporting.error) && (ad.type && ad.type.ty != Terror ))
{ {
// Evaluate: RTinfo!type // Evaluate: RTinfo!type
auto tiargs = new Objects(); auto tiargs = new Objects();
tiargs.push(ad.type); tiargs.push(ad.type);
auto ti = Pool!TemplateInstance.make(ad.loc, Type.rtinfo, tiargs); auto ti = new TemplateInstance(ad.loc, Type.rtinfo, tiargs);
Scope* sc3 = ti.tempdecl._scope.startCTFE(); Scope* sc3 = ti.tempdecl._scope.startCTFE();
sc3.tinst = sc.tinst; sc3.tinst = sc.tinst;
sc3.minst = sc.minst; sc3.minst = sc.minst;
if (ad.isDeprecated()) if (ad.isDeprecated())
sc3.stc |= STC.deprecated_; sc3.stc |= STC.deprecated_;
ti.dsymbolSemantic(sc3); ti.dsymbolSemantic(sc3);
ti.semantic2(sc3); ti.semantic2(sc3);
ti.semantic3(sc3); ti.semantic3(sc3);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)