Checks that there are no recursive structs in the program.
An example of a recursive struct is:
struct Test
def initialize(@test : Test | Nil)
end
end
Test.new(Test.new(nil))
Because the type of Test.@test
would be: Test | Nil
.
Class methods
Methods
#check_recursive(target, type, checked, path)
View source
#check_recursive_instance_var_container(target, type, checked, path)
View source