ivk1800/jugger.dart

generating files using build_runner jugger_generator shows following parse errors

Opened this issue · 1 comments

Invalid argument(s): Content produced diagnostics when parsed:
EXPECTED_TOKEN: Expected to find ';'. - 38:43
MISSING_FUNCTION_BODY: A function body must be provided. - 43:80
EXPECTED_TOKEN: Expected to find ';'. - 8:42
EXPECTED_TOKEN: Expected to find ';'. - 18:88
MISSING_FUNCTION_BODY: A function body must be provided. - 13:72
MISSING_METHOD_PARAMETERS: Methods must have an explicit list of parameters. - 38:54
MISSING_FUNCTION_BODY: A function body must be provided. - 13:70
MISSING_METHOD_PARAMETERS: Methods must have an explicit list of parameters. - 28:62
EXPECTED_TOKEN: Expected to find ';'. - 33:43
MISSING_METHOD_PARAMETERS: Methods must have an explicit list of parameters. - 8:52
MISSING_FUNCTION_BODY: A function body must be provided. - 3:41
MISSING_METHOD_PARAMETERS: Methods must have an explicit list of parameters. - 18:89
MISSING_METHOD_PARAMETERS: Methods must have an explicit list of parameters. - 18:87
MISSING_CONST_FINAL_VAR_OR_TYPE: Variables must be declared using the keywords 'const', 'final', 'var' or a type name. - 43:80
MISSING_METHOD_PARAMETERS: Methods must have an explicit list of parameters. - 23:48
MISSING_KEYWORD_OPERATOR: Operator declarations must be preceded by the keyword 'operator'. - 3:40
EXPECTED_TOKEN: Expected to find ';'. - 43:56
MISSING_CONST_FINAL_VAR_OR_TYPE: Variables must be declared using the keywords 'const', 'final', 'var' or a type name. - 13:72
MISSING_CONST_FINAL_VAR_OR_TYPE: Variables must be declared using the keywords 'const', 'final', 'var' or a type name. - 13:70
MISSING_KEYWORD_OPERATOR: Operator declarations must be preceded by the keyword 'operator'. - 13:69
MISSING_KEYWORD_OPERATOR: Operator declarations must be preceded by the keyword 'operator'. - 13:71
EXPECTED_TOKEN: Expected to find ';'. - 23:40
MISSING_CONST_FINAL_VAR_OR_TYPE: Variables must be declared using the keywords 'const', 'final', 'var' or a type name. - 3:41
MISSING_METHOD_PARAMETERS: Methods must have an explicit list of parameters. - 33:54
MISSING_KEYWORD_OPERATOR: Operator declarations must be preceded by the keyword 'operator'. - 43:79
EXPECTED_TOKEN: Expected to find ';'. - 13:53
MISSING_KEYWORD_OPERATOR: Operator declarations must be preceded by the keyword 'operator'. - 23:48
MISSING_FUNCTION_BODY: A function body must be provided. - 18:88
MISSING_FUNCTION_BODY: A function body must be provided. - 18:90
MISSING_CONST_FINAL_VAR_OR_TYPE: Variables must be declared using the keywords 'const', 'final', 'var' or a type name. - 33:55
MISSING_METHOD_PARAMETERS: Methods must have an explicit list of parameters. - 3:40
MISSING_FUNCTION_BODY: A function body must be provided. - 8:53
EXPECTED_TOKEN: Expected to find ';'. - 13:70
MISSING_FUNCTION_BODY: A function body must be provided. - 28:63
MISSING_METHOD_PARAMETERS: Methods must have an explicit list of parameters. - 13:71
MISSING_METHOD_PARAMETERS: Methods must have an explicit list of parameters. - 13:69
MISSING_FUNCTION_BODY: A function body must be provided. - 38:55
MISSING_KEYWORD_OPERATOR: Operator declarations must be preceded by the keyword 'operator'. - 33:54
MISSING_METHOD_PARAMETERS: Methods must have an explicit list of parameters. - 43:79
MISSING_CONST_FINAL_VAR_OR_TYPE: Variables must be declared using the keywords 'const', 'final', 'var' or a type name. - 23:49
EXPECTED_TOKEN: Expected to find ';'. - 3:36
MISSING_CONST_FINAL_VAR_OR_TYPE: Variables must be declared using the keywords 'const', 'final', 'var' or a type name. - 18:90
MISSING_CONST_FINAL_VAR_OR_TYPE: Variables must be declared using the keywords 'const', 'final', 'var' or a type name. - 18:88
MISSING_FUNCTION_BODY: A function body must be provided. - 33:55
MISSING_CONST_FINAL_VAR_OR_TYPE: Variables must be declared using the keywords 'const', 'final', 'var' or a type name. - 8:53
MISSING_KEYWORD_OPERATOR: Operator declarations must be preceded by the keyword 'operator'. - 38:54
MISSING_CONST_FINAL_VAR_OR_TYPE: Variables must be declared using the keywords 'const', 'final', 'var' or a type name. - 28:63
EXPECTED_TOKEN: Expected to find ';'. - 18:62
MISSING_KEYWORD_OPERATOR: Operator declarations must be preceded by the keyword 'operator'. - 28:62
MISSING_CONST_FINAL_VAR_OR_TYPE: Variables must be declared using the keywords 'const', 'final', 'var' or a type name. - 38:55
MISSING_KEYWORD_OPERATOR: Operator declarations must be preceded by the keyword 'operator'. - 8:52
MISSING_KEYWORD_OPERATOR: Operator declarations must be preceded by the keyword 'operator'. - 18:87
MISSING_FUNCTION_BODY: A function body must be provided. - 23:49
EXPECTED_TOKEN: Expected to find ';'. - 28:47
MISSING_KEYWORD_OPERATOR: Operator declarations must be preceded by the keyword 'operator'. - 18:89

@urvi-aecor It looks like there is a syntax error in the code. Can you please share minimal your code for reproduce?