diff --git a/doc/langref.md b/doc/langref.md index 134cf8ac65ade0c7d42f2df5744d5537c9eb0a8d..a24085c2bf5971fbe4d53b9fb6bee9c3edc28d9e 100644 --- a/doc/langref.md +++ b/doc/langref.md @@ -650,6 +650,10 @@ This function returns an integer type with the given signness and bit count. Makes the target function a test function. +### @setDebugSafety(scope, safety_on: bool) + +Sets a whether we want debug safety checks on for a given scope. + ### @isInteger(comptime T: type) -> bool Returns whether a given type is an integer.