From 05fd581790ff547577097cd5f0c14ff40e9a01d2 Mon Sep 17 00:00:00 2001 From: c0d3-br3ak9r <103585603+c0d3-br3ak9r@users.noreply.github.com> Date: Sat, 5 Oct 2024 13:40:43 +0530 Subject: [PATCH] Improved port already exists error message with module name --- lib/src/module.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/module.dart b/lib/src/module.dart index 27ce248fd..9498de284 100644 --- a/lib/src/module.dart +++ b/lib/src/module.dart @@ -617,7 +617,7 @@ abstract class Module { inputs.containsKey(name) || inOuts.containsKey(name)) { throw UnavailableReservedNameException.withMessage( - 'Already defined a port with name "$name".'); + 'Already defined a port with name "$name" in module "${this.name}".'); } }