mafia icon indicating copy to clipboard operation
mafia copied to clipboard

-Werror for source dependencies?

Open thumphries opened this issue 7 years ago • 1 comments

(more of a question than an issue)

Should warnings in source dependencies / subprojects be mafia errors?

As it stands, if a subproject and its source dependencies get out of sync, inexhaustive pattern matches can end up in production. Seems to me that the ownership boundary is usually the project rather than the package. @jystic

thumphries avatar Mar 13 '17 06:03 thumphries

Should warnings in source dependencies / subprojects be mafia errors?

I don't think so, but I don't want to see them silenced either.

As it stands, if a subproject and its source dependencies get out of sync, inexhaustive pattern matches can end up in production.

Subprojects can have non-total functions or throw exceptions as well.

erikd avatar Mar 13 '17 07:03 erikd