summaryrefslogtreecommitdiff
path: root/tools/slang-reflection-test/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/slang-reflection-test/main.cpp')
-rw-r--r--tools/slang-reflection-test/main.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/slang-reflection-test/main.cpp b/tools/slang-reflection-test/main.cpp
index 27ae20412..7e5f268f3 100644
--- a/tools/slang-reflection-test/main.cpp
+++ b/tools/slang-reflection-test/main.cpp
@@ -141,7 +141,14 @@ static void emitReflectionVarBindingInfoJSON(
{
write(writer, ", ");
write(writer, "\"count\": ");
- write(writer, count);
+ if( count == SLANG_UNBOUNDED_SIZE )
+ {
+ write(writer, "\"unbounded\"");
+ }
+ else
+ {
+ write(writer, count);
+ }
}
}
}