Report a bug
		
				If you spot a problem with this page, click here to create a Bugzilla issue.
		
			Improve this page
		
			Quickly fork, edit online, and submit a pull request for this page.
			Requires a signed-in GitHub account. This works well for small changes.
			If you'd like to make larger changes you may want to consider using
			a local clone.
		
	dmd.semantic3
Performs the semantic3 stage, which deals with function bodies.
Authors: 
License: 
Source semantic3.d
Documentation https://dlang.org/phobos/dmd_semantic3.html
- voidsemantic3(Dsymboldsym, Scope*sc);
- Does semantic analysis on function bodies.
- boolcheckClosure(FuncDeclarationfd);
- Check that the function contains any closure. If it's @nogc, report suitable errors. This is mostly consistent with FuncDeclaration::needsClosure().Returns:true if any errors occur.
Copyright © 1999-2025 by the D Language Foundation | Page generated by
Ddoc on Mon Mar 31 10:28:01 2025