Godot version:
3.1 beta 6
OS/device including version:
Linux Ubuntu 18.04
Issue description:
As title:


Steps to reproduce:
extends Node
func _get_configuration_warning() -> String:
return "Cool warning."
Minimal reproduction project:
warning bug.zip
The line 2661 returns Null here, couldn't figure out why.
You need to make this a tool script for it to run in the editor.
But there's an inconsistency nevertheless, as it does show a configuration warning with Null when it's not a tool script. It should either not show a configuration warning at all, or show the correct one.
Most helpful comment
You need to make this a
toolscript for it to run in the editor.But there's an inconsistency nevertheless, as it does show a configuration warning with
Nullwhen it's not atoolscript. It should either not show a configuration warning at all, or show the correct one.