From 4df1a9b251926ca05c4f65ed3daf2756c67e82de Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 1 Feb 2017 03:28:40 -0500 Subject: [PATCH] document setDebugSafety builtin function --- doc/langref.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/langref.md b/doc/langref.md index 134cf8ac65..a24085c2bf 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.