site-www
site-www copied to clipboard
Add code excerpts to new type promotion failures
Excerpts added in #5246
Fixes #5350
I'm still not sure how to implement the excerpts for the {:.bad} examples, tbd. Maybe the file just has a bunch of ignore_for_file conditions?
I know there's a way to print the actual error from the excerpts too (I think the Fixing common type problems page does it), so tbd on that too.
Visit the preview URL for this PR (updated for commit f722e2c7841017e05f22f94df7c26412e7a48637):
https://dart-dev--pr5359-promo-code-exc-lmxwqb8m.web.app
@MaryaBelanger : Once you get this PR updated, I'll take another look.
@MaryaBelanger : This was last touched by you in 2023. Do you think you can come back to this or should someone else pick it up?
I took this one over and will try to get back to it this week.