Fix #1211: Warn if non-forward compatible @JSExport is used
Merge pull request #1262 from gzm0/warn-jsexport

Fix #1211: Warn if non-forward compatible @JSExport is used