<commit_before>package Foo_pkg;

    parameter PI = 3;

endpackage

package Bar_pkg;

    parameter E = 2;
    parameter F = 5;
endpackage

package Baz_pkg;

    parameter ZERO = 0, ONE = 1;
    parameter TWO = 2, THREE = 3;

endpackage

module module3A;
    import Foo_pkg::*;
    import Bar_pkg::E;

    localparam LP1 = PI;
    localparam LP2 = E; // F will give error here
    localparam LP3 = Baz_pkg::ZERO;

endmodule

module module3B
    import Baz_pkg::ONE,
           Baz_pkg::TWO;
(
    input   [ONE-1:0] in1
);

    localparam LP1 = TWO;

endmodule

module module3

    logic [Baz_pkg::ONE-1:0] x;

    module3A a();
    module3B b(x);

endmodule<commit_msg>fixed syntax error in test case<commit_after>package Foo_pkg;

    parameter PI = 3;

endpackage

package Bar_pkg;

    parameter E = 2;
    parameter F = 5;
endpackage

package Baz_pkg;

    parameter ZERO = 0, ONE = 1;
    parameter TWO = 2, THREE = 3;

endpackage

module module3A;
    import Foo_pkg::*;
    import Bar_pkg::E;

    localparam LP1 = PI;
    localparam LP2 = E; // F will give error here
    localparam LP3 = Baz_pkg::ZERO;

endmodule

module module3B
    import Baz_pkg::ONE,
           Baz_pkg::TWO;
(
    input   [ONE-1:0] in1
);

    localparam LP1 = TWO;

endmodule

module module3;

    logic [Baz_pkg::ONE-1:0] x;

    module3A a();
    module3B b(x);

endmodule
{'fraction_non_alphanumeric': 0.09801031687546058, 'fraction_numerical': 0.030950626381724394, 'mean_word_length': 2.67027027027027, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1875903', 'n_tokens_mistral': 539, 'n_tokens_neox': 502, 'n_words': 146}