Skip to content
  • Ryan Scott's avatar
    d3e60e97
    Deprecate -Wdata-kinds-tc, make DataKinds issues in typechecker become errors · d3e60e97
    Ryan Scott authored and Marge Bot's avatar Marge Bot committed
    !11314 introduced the `-Wdata-kinds-tc` warning as part of a fix for #22141.
    This was a temporary stopgap measure to allow users who were accidentally
    relying on code which needed the `DataKinds` extension in order to typecheck
    without having to explicitly enable the extension.
    
    Now that some amount of time has passed, this patch deprecates
    `-Wdata-kinds-tc` and upgrades any `DataKinds`-related issues in the
    typechecker (which were previously warnings) into errors.
    d3e60e97
    Deprecate -Wdata-kinds-tc, make DataKinds issues in typechecker become errors
    Ryan Scott authored and Marge Bot's avatar Marge Bot committed
    !11314 introduced the `-Wdata-kinds-tc` warning as part of a fix for #22141.
    This was a temporary stopgap measure to allow users who were accidentally
    relying on code which needed the `DataKinds` extension in order to typecheck
    without having to explicitly enable the extension.
    
    Now that some amount of time has passed, this patch deprecates
    `-Wdata-kinds-tc` and upgrades any `DataKinds`-related issues in the
    typechecker (which were previously warnings) into errors.
Loading