)]}'
{
  "commit": "731f3d12a30536523bfff18b62f6f752ee03e40f",
  "tree": "dcb5024ea8c2a7e584e8339b1c9d4aeefc245ea1",
  "parents": [
    "fa103b7dde8e0638bb8839e1f56f0095fd4fc3b9"
  ],
  "author": {
    "name": "Eric Rahm",
    "email": "erahm@google.com",
    "time": "Thu Sep 12 10:36:10 2024 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Sep 12 10:36:10 2024 -0700"
  },
  "message": "Cast to ValueType before ValueIsOk check (#186)\n\nThis allows using a larger backing value type to assign a UInt or Int\r\nvalue when the value itself fits within the range of the internal value\r\ntype. Previously this would fail to compile if `-Wshorten-64-to-32` was\r\nspecified when building with `clang`:\r\n\r\n```\r\nUIntView\u003cFixedSizeViewParameters\u003c16, AllValuesAreOk\u003e\u003e view;\r\nsize_t value \u003d 200;\r\nview.TryToWrite(value);\r\n```\r\n\r\nFixes #185",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8b5fa287de6842803c73f27935bca840495638e4",
      "old_mode": 33188,
      "old_path": "runtime/cpp/emboss_prelude.h",
      "new_id": "ad302cddcbbf825a84da28269ec19691e2fb265f",
      "new_mode": 33188,
      "new_path": "runtime/cpp/emboss_prelude.h"
    }
  ]
}
