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}".'); } }