mojo/public/tools/mojom/version_compatibility_unittest.py
def testRecursiveTypeChange(self):
    """Recursive types do not break the compatibility checker."""
    self.assertBackwardCompatible(
        """\
        struct S {
          string a;
          array<S> others;
        };""", """\
        struct S {
          string a;
          array<S> others;
          [MinVersion=1] string? b;
        };""")
Recursive types do not break the compatibility checker.
Recursive types do not break the compatibility checker.
Recursive types do not break the compatibility checker .
def testRecursiveTypeChange(self):
    self.assertBackwardCompatible(
        """\
        struct S {
          string a;
          array<S> others;
        };""", """\
        struct S {
          string a;
          array<S> others;
          [MinVersion=1] string? b;
        };""")
def testRecursiveTypeChange ( self ) : self . assertBackwardCompatible ( """\
        struct S {
          string a;
          array<S> others;
        };""" , """\
        struct S {
          string a;
          array<S> others;
          [MinVersion=1] string? b;
        };""" )
Recursive types do not break the compatibility checker.
Recursive types do not break the compatibility checker .
"""Recursive types do not break the compatibility checker."""
self