mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
spelling: clazz
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
@@ -131,7 +131,7 @@ def defineRandomNominalType(name, depth=0):
|
||||
print("}")
|
||||
print()
|
||||
|
||||
def clas():
|
||||
def clazz():
|
||||
defineRandomClass(name, depth)
|
||||
|
||||
def enum():
|
||||
@@ -145,7 +145,7 @@ def defineRandomNominalType(name, depth=0):
|
||||
print("}")
|
||||
print()
|
||||
|
||||
kinds = [struct, clas, enum]
|
||||
kinds = [struct, clazz, enum]
|
||||
return random.choice(kinds)()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user