Closed
Description
The type system object will soon not track strictCasts
(see: #53873) and in the process of evaluating that impact, we noticed that the const evaluator is using this setting when checking assignability in order to avoid reporting duplicate errors. Chatting with @scheglov, this was arguably not the best place to de-duplicate and looking forward we want to get away from the const evaluator doing these checks. In the short term, removing these checks would result in potentially duplicated errors but will unblock #53873 in the service of the big analysis options refactor (#53876).
@kallentu and I will chat about this later and I'll update w/ next steps.
/fyi @bwilkerson