An implicit conversion in a port connection expression truncates a type. This conversion potentially loses data. An explicit cast should be used if it is intended.
module fly(input logic [1:0] a); endmodule module top; int a; fly fly1(.a(a)); // Noncompliant endmodule