handle grefs at analyzing stage
distinguish lref and cref at analysis stage
remove resolver pass
Merge branch 'remove-resolver-pass'