core icon indicating copy to clipboard operation
core copied to clipboard

@json.inspect nonterminating

Open bobzhang opened this issue 1 year ago • 1 comments


test "to_string with non-empty FixedArray" {
  let array : FixedArray[Int] = [1, 2, 3]
  // @json.inspect!(array, conte"[1,2,3]"3]")
  @json.inspect!(array, content="[1,2,3]")
  // assert_eq!(array.to_string(), "[1, 2, 3]")
}

bobzhang avatar Oct 09 '24 07:10 bobzhang

In the stable release, it is indeed non-terminating. The bleeding is required.

lijunchen avatar Oct 09 '24 08:10 lijunchen