PSA: [TypeChecking=Interface] is now the default for our IDL files

14 views
Skip to first unread message

Philip Jägenstedt

unread,
Nov 25, 2015, 5:38:46 AM11/25/15
to blink-dev
I have just landed the final CL to eliminate [TypeChecking=Interface] from our IDL by making strict type checking the default. Many thanks to j...@opera.com and reviewers for the many, many CLs leading up to this.

The old default is now [LegacyInterfaceTypeChecking], which has been sprinkled as necessary to not change the generated code. This old behavior is to simply pass along null to the implementation if the passed value wasn't of the right type, making everything implicitly nullable and silently treating the wrong type as null. As the default, it's been unknowingly used even in new code.

I've created an new issue to eliminate LegacyInterfaceTypeChecking, and have put it on the list of small interop issues. Any help appreciated!

Philip
Reply all
Reply to author
Forward
0 new messages