cb1270836c
Introduced new model for resolution result: tree of ResolvedAtoms. Moved all postprocessing for arguments to front-end module. Do not create freshDescriptor -- use freshTypeSubstitutor directly. Removed Candidates for variables+invoke. Add lazy way for argument analysis -- do not analyze all arguments if we have subtyping error in first argument, but if we want report all errors, then all arguments checks will be performed. Future improvements: - optimize constraint system usage inside ResolutionCandidate - improve constraint system API - improve diagnostic handlers