Make Local Declarations Explicit #38
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	
	No description provided.
		
		Delete Branch "kym-explicit-local-declarations"
	
	Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds the requirement of a storage classification specifier to every local declaration.
As part of this PR, the supported storage classifications are:
var: may be dynamically re-assigned after declaration to hold any object type and value.let: assigned object is immutable after creation.More storage classes may be added in the future.
This PR also prevents local shadowing from being permitted anymore.
WIP: Make Local Declarations Explicitto Make Local Declarations Explicit