[hack] Fix issue where Class_const could not be matched
[hack] Fix issue where Class_const could not be matched

Summary:
Seems like a simple bug from untested code
A Class_const ast node represents something of the form Classname::constOrFunction()
A Class_get ast node represents something of the form Classname::$value

Matching between these two types of nodes doesn't make any sense.

Reviewed By: hermanventer

Differential Revision: D2762061

fb-gh-sync-id: be7297d85750e1f0810c18afbd2abae487c5f192

facebook/flow,chenglou/flow,AgentME/flow,MichaelDeBoey/flow,samwgoldman/flow,fletcherw/flow,jgrund/flow,d14b3l/flow,jamesgpearce/flow,AprilArcus/flow,popham/flow,MichaelDeBoey/flow,MichaelDeBoey/flow,ylu1317/flow,jdelStrother/flow,jeffmo/flow,samwgoldman/flow,gabro/flow,gabelevi/flow,samwgoldman/flow,gabelevi/flow,ylu1317/flow,MichaelDeBoey/flow,JonathanUsername/flow,popham/flow,popham/flow,jamesgpearce/flow,jgrund/flow,mroch/flow,claudiopro/flow,gabro/flow,jdelStrother/flow,mroch/flow,fletcherw/flow,nmote/flow,gabelevi/flow,AprilArcus/flow,d14b3l/flow,MichaelDeBoey/flow,mroch/flow,cesarandreu/flow,jeffmo/flow,nmote/flow,chenglou/flow,jdelStrother/flow,AgentME/flow,AprilArcus/flow,claudiopro/flow,shiftcars/flow,claudiopro/flow,graue/flow,jgrund/flow,jamesgpearce/flow,TiddoLangerak/flow,popham/flow,AgentME/flow,JonathanUsername/flow,gabro/flow,ylu1317/flow,chenglou/flow,jeffmo/flow,TiddoLangerak/flow,ForbesLindesay/flow,nmote/flow,fletcherw/flow,jeffmo/flow,shiftcars/flow,gabro/flow,nmote/flow,nmote/flow,cesarandreu/flow,mroch/flow,d14b3l/flow,graue/flow,shiftcars/flow,AprilArcus/flow,jeffmo/flow,d14b3l/flow,ylu1317/flow,chenglou/flow,facebook/flow,claudiopro/flow,popham/flow,samwgoldman/flow,jamesgpearce/flow,ForbesLindesay/flow,jgrund/flow,shiftcars/flow,shiftcars/flow,d14b3l/flow,gabro/flow,nmote/flow,TiddoLangerak/flow,jeffmo/flow,graue/flow,ForbesLindesay/flow,gabelevi/flow,graue/flow,claudiopro/flow,shiftcars/flow,gabelevi/flow,samwgoldman/flow,jamesgpearce/flow,facebook/flow,TiddoLangerak/flow,gabro/flow,chenglou/flow,d14b3l/flow,ForbesLindesay/flow,mroch/flow,AprilArcus/flow,JonathanUsername/flow,fletcherw/flow,facebook/flow,chenglou/flow,cesarandreu/flow,graue/flow,jamesgpearce/flow,ForbesLindesay/flow,jgrund/flow,ylu1317/flow,jdelStrother/flow,graue/flow,popham/flow,fletcherw/flow,JonathanUsername/flow,jdelStrother/flow,fletcherw/flow,jdelStrother/flow,ForbesLindesay/flow,JonathanUsername/flow,AprilArcus/flow,facebook/flow,gabelevi/flow,AgentME/flow,samwgoldman/flow,TiddoLangerak/flow,AgentME/flow,mroch/flow,JonathanUsername/flow,jamesgpearce/flow,samwgoldman/flow,popham/flow,gabelevi/flow,facebook/flow,nmote/flow,mroch/flow,facebook/flow,JonathanUsername/flow,jgrund/flow,cesarandreu/flow