Skip to content

Commit 5b11ecd

Browse files
committed
just some asserts
1 parent 99cc322 commit 5b11ecd

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

stdlib/public/core/Assert.swift

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
/// - line: The line number to print along with `message` if the assertion
3838
/// fails. The default is the line number where `assert(_:_:file:line:)`
3939
/// is called.
40-
@inlinable // FIXME(sil-serialize-all)
4140
@_transparent
4241
public func assert(
4342
_ condition: @autoclosure () -> Bool,
@@ -80,7 +79,6 @@ public func assert(
8079
/// - line: The line number to print along with `message` if the assertion
8180
/// fails. The default is the line number where
8281
/// `precondition(_:_:file:line:)` is called.
83-
@inlinable // FIXME(sil-serialize-all)
8482
@_transparent
8583
public func precondition(
8684
_ condition: @autoclosure () -> Bool,
@@ -163,7 +161,6 @@ public func assertionFailure(
163161
/// where `preconditionFailure(_:file:line:)` is called.
164162
/// - line: The line number to print along with `message`. The default is the
165163
/// line number where `preconditionFailure(_:file:line:)` is called.
166-
@inlinable // FIXME(sil-serialize-all)
167164
@_transparent
168165
public func preconditionFailure(
169166
_ message: @autoclosure () -> String = String(),
@@ -187,7 +184,6 @@ public func preconditionFailure(
187184
/// where `fatalError(_:file:line:)` is called.
188185
/// - line: The line number to print along with `message`. The default is the
189186
/// line number where `fatalError(_:file:line:)` is called.
190-
@inlinable // FIXME(sil-serialize-all)
191187
@_transparent
192188
public func fatalError(
193189
_ message: @autoclosure () -> String = String(),
@@ -203,7 +199,6 @@ public func fatalError(
203199
/// building in fast mode they are disabled. In release mode they don't print
204200
/// an error message but just trap. In debug mode they print an error message
205201
/// and abort.
206-
@inlinable // FIXME(sil-serialize-all)
207202
@_transparent
208203
public func _precondition(
209204
_ condition: @autoclosure () -> Bool, _ message: StaticString = StaticString(),
@@ -221,7 +216,6 @@ public func _precondition(
221216
}
222217
}
223218

224-
@inlinable // FIXME(sil-serialize-all)
225219
@_transparent
226220
public func _preconditionFailure(
227221
_ message: StaticString = StaticString(),
@@ -234,7 +228,6 @@ public func _preconditionFailure(
234228
/// If `error` is true, prints an error message in debug mode, traps in release
235229
/// mode, and returns an undefined error otherwise.
236230
/// Otherwise returns `result`.
237-
@inlinable // FIXME(sil-serialize-all)
238231
@_transparent
239232
public func _overflowChecked<T>(
240233
_ args: (T, Bool),
@@ -260,7 +253,6 @@ public func _overflowChecked<T>(
260253
/// and abort.
261254
/// They are meant to be used when the check is not comprehensively checking for
262255
/// all possible errors.
263-
@inlinable // FIXME(sil-serialize-all)
264256
@_transparent
265257
public func _debugPrecondition(
266258
_ condition: @autoclosure () -> Bool, _ message: StaticString = StaticString(),
@@ -275,7 +267,6 @@ public func _debugPrecondition(
275267
}
276268
}
277269

278-
@inlinable // FIXME(sil-serialize-all)
279270
@_transparent
280271
public func _debugPreconditionFailure(
281272
_ message: StaticString = StaticString(),
@@ -293,7 +284,6 @@ public func _debugPreconditionFailure(
293284
/// standard library. They are only enable when the standard library is built
294285
/// with the build configuration INTERNAL_CHECKS_ENABLED enabled. Otherwise, the
295286
/// call to this function is a noop.
296-
@inlinable // FIXME(sil-serialize-all)
297287
@_transparent
298288
public func _sanityCheck(
299289
_ condition: @autoclosure () -> Bool, _ message: StaticString = StaticString(),
@@ -307,7 +297,6 @@ public func _sanityCheck(
307297
#endif
308298
}
309299

310-
@inlinable // FIXME(sil-serialize-all)
311300
@_transparent
312301
public func _sanityCheckFailure(
313302
_ message: StaticString = StaticString(),

0 commit comments

Comments
 (0)