Skip to content

-fdefer-type-errors for Backpack

It would be great if -fdefer-type-errors worked with Backpack. There are two senses in which it could work:

  1. When matching signatures, if the instantiating module didn't provide a required function, we could just create one out of thin air so we can continue building.
  2. When matching signature, if the implementation doesn't match the signature, we instead create a deferred type error.

(2) is more difficult because it basically requires us to solve #12703.

Trac metadata
Trac field Value
Version 8.1
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information