Remove commented code
When resolving the declarations, resolve rest of the declarations as well
This helps especially when resolving the symbol as part of resolveAST
We would mark the symbol as resolved but would never be able to resolve
rest of the declaraitons until we typeCheck those files.
This was leading to incorrect errors because at the time of specialization
the symbol even though marked resolved, wasnt resolved completely.
Resolving declared symbol should start with empty typeReplacement map
Update LKG
Fix bugs related to declaration emitting:
1. Traverse only elements we are interested in
2. Emit global ambient declarations in the declare file.
Merge branch 'develop' into typeCheckRefactor
Update LKG
Split up overload resolution methods
Update LKG