Bugsquad edit: This issue has been confirmed several times already. No need to confirm it further.
Windows 10 64-bit - Godot 3.1 alpha
Edit - Refined issue to focus on cyclic errors.
Certain uses of class_name can produce cyclic errors in situations where there are no cyclic references, and in fact sometimes no other references outside of the single one given.
I've noticed this most frequently in tool script when using is to make a class comparison, but it seems to happen at times in normal script situations.
Recreating it in a sample project has eluded me.

Bugsquad edit: This issue has been confirmed several times already. No need to confirm it further.
Windows 10 64-bit - Godot 3.1 alpha
Edit - Refined issue to focus on cyclic errors.
Certain uses of
class_namecan produce cyclic errors in situations where there are no cyclic references, and in fact sometimes no other references outside of the single one given.I've noticed this most frequently in tool script when using
isto make a class comparison, but it seems to happen at times in normal script situations.Recreating it in a sample project has eluded me.