From 7d100d8a3603888371af77852c6d1d1d3cf60504 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 11 Sep 2026 20:54:29 +0700 Subject: [PATCH] a bad macro fails on its own, and script errors name their frame - a macro with a Lua error fails on its own and lands in the script error channel instead of aborting the UI function that ran it; RunScript names its chunk by the source text, and a bad or empty argument is a quiet no-op (2136) - a script error or debugstack frame names its handler as Frame:OnClick instead of a whole CreateFrame sentence, an inline \n", + ); + let report = load_in(&s, &doc, "Interface/AddOns/Probe/Probe.xml", &|p: &str| { + (p == "Interface/AddOns/Probe/Sibling.lua") + .then(|| b"BenillaFile = ({}).missing.deeper".to_vec()) + }); + assert_eq!(report.errors.len(), 2, "{:?}", report.errors); + assert!( + report.errors[0].contains("Interface\\AddOns\\Probe\\Sibling.lua:1:"), + "a