pervasive type constraints
[scpubgit/DX.git] / lib / DX / TraceFormatter.pm
index bd6ea47..f23cc67 100644 (file)
@@ -8,7 +8,7 @@ our $WS;
 our $Extra = 0;
 
 has ambient_indent_level => (
-  is => 'rwp', lazy => 1, clearer => 1, default => 0
+  is => 'rwp', lazy => 1, clearer => 1, default => 0, isa => Int
 );
 
 sub indent_by { '    ' }