1. 02 11月, 2016 1 次提交
    • A
      Fix capturing of a generic type in local functions (#14828) · 3b8871a3
      Andy Gocke 提交于
      This changes our generic-lowering logic to use 'Arity' instead of
      'IsGenericType' to figure out whether or not a local function frame
      needs generic subsitution. We previously used IsGenericType, which is
      inappropriate because it also considers whether or not the containing
      type of the frame is generic. The containing type is necessarily already
      subsituted when calling a local function, so it will never be possible
      to substite type parameters.
      
      Instead, we should use Arity of the frame, which is only non-zero if the
      frame itself is generic, regardless of the containing type.
      3b8871a3
  2. 01 11月, 2016 16 次提交
  3. 31 10月, 2016 12 次提交
  4. 30 10月, 2016 3 次提交
  5. 29 10月, 2016 8 次提交