Fix #1107: Warn if raw JS method has return type Nothing