)]}'
{
  "commit": "927f2012be0e92456c4eef7760bf720beb8e5bb1",
  "tree": "bc022db14ce92e535b4f4c8307dd1be3a8aa6dc0",
  "parents": [
    "d180c58b13f3f1c8d76c8b7330391d7d68cfc7f7"
  ],
  "author": {
    "name": "Mohamed Khairy",
    "email": "mohamedkhairy0101@gmail.com",
    "time": "Wed Mar 05 11:00:45 2025 -0800"
  },
  "committer": {
    "name": "Dawn LUCI CQ",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Wed Mar 05 11:00:45 2025 -0800"
  },
  "message": "tint: Improve error message for module-scope function calls\n\nThe previous error message for calling a function at module scope\nwas misleading, stating \"functions cannot be called at module-scope\".\nThis is inaccurate as built-in constant functions are allowed.\n\nThis CL updates the error message to be more specific and helpful,\nindicating that \"Custom functions cannot be called at module scope.\nOnly built-in functions are allowed here.\"\n\nBug: tint:42250870\nChange-Id: I31fcb15ac9a214f413a5edf75264aee04c9094b6\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/228754\nReviewed-by: James Price \u003cjrprice@google.com\u003e\nReviewed-by: dan sinclair \u003cdsinclair@chromium.org\u003e\nCommit-Queue: James Price \u003cjrprice@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bb15f2b593a8a72dd5d9512b59769ac1279fb1a8",
      "old_mode": 33188,
      "old_path": "src/tint/lang/wgsl/resolver/function_validation_test.cc",
      "new_id": "3a0f7b8993418508cfe51581fe002fe7fd8c9720",
      "new_mode": 33188,
      "new_path": "src/tint/lang/wgsl/resolver/function_validation_test.cc"
    },
    {
      "type": "modify",
      "old_id": "7d9d9d719f081d56ce5880e73ec8aaeb4e17325e",
      "old_mode": 33188,
      "old_path": "src/tint/lang/wgsl/resolver/validator.cc",
      "new_id": "1f3a1ac7fa244532e1eebc1acc168c148a3728ef",
      "new_mode": 33188,
      "new_path": "src/tint/lang/wgsl/resolver/validator.cc"
    }
  ]
}
