[GHC] #13281: Linting join points

GHC ghc-devs at haskell.org
Tue Feb 21 14:31:27 UTC 2017


#13281: Linting join points
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:  JoinPoints
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"e790126cd57ab39649b1fd42996733fafe20eb34/ghc" e790126/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="e790126cd57ab39649b1fd42996733fafe20eb34"
 Improve Core Lint, mainly for join points

 * lintSingleBinding: check that join points have
                      a valid join-point type
   (Trac #13281)

 * lintIdBinder: check that a JoinId is bound by
                 a non-top-level let
   i.e.  not a top level binder
         not lambda/case binder

 * Check for empty Rec [] bindings

 * Rename lintIdBndrs to lintLetBndrs
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13281#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list