Skip to content

Commit d39ad94

Browse files
committed
Some class methods became properties, which invalidated their apinotes fixes.
This change makes them regain their fixed names. <rdar://problem/27301651> Renaming changes resulted in notANumber becoming notA
1 parent 5218c2c commit d39ad94

File tree

1 file changed

+12
-17
lines changed

1 file changed

+12
-17
lines changed

apinotes/Foundation.apinotes

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,9 @@ Classes:
282282
- Name: NSDecimalNumber
283283
SwiftName: NSDecimalNumber
284284
SwiftBridge: Decimal
285-
Methods:
286-
- Selector: notANumber
287-
SwiftName: notANumber()
288-
MethodKind: Class
285+
Properties:
286+
- Name: notANumber
287+
SwiftName: notANumber
289288
- Name: NSDecimalNumberHandler
290289
SwiftName: NSDecimalNumberHandler
291290
- Name: NSDeleteCommand
@@ -711,19 +710,15 @@ Classes:
711710
SwiftName: prepare(forReadingItemsAt:options:writingItemsAt:options:error:byAccessor:)
712711
MethodKind: Instance
713712
- Name: NSFileHandle
714-
Methods:
715-
- Selector: fileHandleWithStandardInput
716-
SwiftName: standardInput()
717-
MethodKind: Class
718-
- Selector: fileHandleWithStandardOutput
719-
SwiftName: standardOutput()
720-
MethodKind: Class
721-
- Selector: fileHandleWithStandardError
722-
SwiftName: standardError()
723-
MethodKind: Class
724-
- Selector: fileHandleWithNullDevice
725-
SwiftName: nullDevice()
726-
MethodKind: Class
713+
Properties:
714+
- Name: fileHandleWithStandardInput
715+
SwiftName: standardInput
716+
- Name: fileHandleWithStandardOutput
717+
SwiftName: standardOutput
718+
- Name: fileHandleWithStandardError
719+
SwiftName: standardError
720+
- Name: fileHandleWithNullDevice
721+
SwiftName: nullDevice
727722
- Name: NSFileManager
728723
Methods:
729724
- Selector: 'mountedVolumeURLsIncludingResourceValuesForKeys:options:'

0 commit comments

Comments
 (0)