data/full_repos/permissive/143278/ivltests/contrib8.1.v
 line:26: before: "("
1: b'%Error: data/full_repos/permissive/143278/ivltests/contrib8.1.v:26: Unsupported: Function output argument \'blah\' requires 1 bits, but connection\'s VARREF \'a\' generates 32 bits.\n                                                                  : ... In instance blahblah\n       test(a);\n            ^\n%Warning-WIDTH: data/full_repos/permissive/143278/ivltests/contrib8.1.v:26: Operator TASKREF \'test\' expects 1 bits on the Function Argument, but Function Argument\'s VARREF \'a\' generates 32 bits.\n                                                                          : ... In instance blahblah\n       test(a);\n       ^~~~\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Error: Exiting due to 1 error(s), 1 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module blahblah ();
   parameter foo = 1;

   reg [31:0] a;

   initial
     begin
       test(a);
       if(a != 1)
         $display("FAILED - contrib 8.1  foo not passed into task - bad scope");
       else
         $display("PASSED");
     end


   task test;
      output blah;
      begin
         blah = foo;
      end
   endtask

endmodule
module blahblah ();

   parameter foo = 1;

   reg [31:0] a;

   initial
     begin
       test(a);
       if(a != 1)
         $display("FAILED - contrib 8.1  foo not passed into task - bad scope");
       else
         $display("PASSED");
     end


   task test;
      output blah;
      begin
         blah = foo;
      end
   endtask

endmodule