6585 lines
180 KiB
JSON
6585 lines
180 KiB
JSON
{
|
|
"messages": [
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ASTType.cpp",
|
|
"fixits": [],
|
|
"line": 40,
|
|
"message": "{}'{}' is aka '{}'parameter expr must be a type expressionTT: AnyTypeTT: AnyTypeType with the same decl should have consistent number of paramsOriginOrigin struct should have a !lit.origin parametergetRegisterPassability called with null mlirTypeTrivialRegisterPassableRegisterPassableTrivialRegisterPassableRegisterPassableInvalid special function kindDeinitable__del__is_trivialCopyable__copy_ctor_is_trivialMovable__move_ctor_is_trivialMLIR types shouldn't reach hereBool_mlir_valueImplicitlyCopyableCopyableMovableMovableParameterListTypeListNot a VariadicList struct?looking at a RefType not a VariadicListNot a VariadicList struct?ownedlooking at a RefType not a VariadicPackNot a VariadicPack struct?looking at a RefType not a VariadicPackNot a VariadicPack struct?`foobarfdisable checkingstruct decl not found",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ASTType.cpp",
|
|
"fixits": [],
|
|
"line": 403,
|
|
"message": "{} of the first {} is '{}' but the second {} is '{}'",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ASTType.cpp",
|
|
"fixits": [],
|
|
"line": 417,
|
|
"message": "types parameters include unfolded expression at parser time; try rebinding to a consistent type?",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ASTType.cpp",
|
|
"fixits": [],
|
|
"line": 446,
|
|
"message": "'{}' is aka '{}'",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/CallOperands.cpp",
|
|
"fixits": [],
|
|
"line": 198,
|
|
"message": "other keyword argument specified here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ClosureEmitter.cpp",
|
|
"fixits": [],
|
|
"line": 723,
|
|
"message": "failed to emit trait-shaped __call__ forwarder{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ClosureEmitter.cpp",
|
|
"fixits": [],
|
|
"line": 2117,
|
|
"message": "cannot derive an interior origin from a captured container while an interior reference to the container is also captured{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ClosureEmitter.cpp",
|
|
"fixits": [],
|
|
"line": 2779,
|
|
"message": "cannot capture because its type is not a parameter reference.{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ClosureEmitter.cpp",
|
|
"fixits": [],
|
|
"line": 2786,
|
|
"message": "cannot capture because its type constraint is not a trait.{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ClosureEmitter.cpp",
|
|
"fixits": [],
|
|
"line": 2894,
|
|
"message": "cannot capture a value of trait type yet because existentials are not implemented.{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ClosureEmitter.cpp",
|
|
"fixits": [],
|
|
"line": 3064,
|
|
"message": "ambiguous captured value: {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ClosureEmitter.cpp",
|
|
"fixits": [],
|
|
"line": 3143,
|
|
"message": "reference to an unknown value: {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ClosureEmitter.cpp",
|
|
"fixits": [],
|
|
"line": 3147,
|
|
"message": "value {} is a parameter and does not need a capture convention",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ClosureEmitter.cpp",
|
|
"fixits": [],
|
|
"line": 3169,
|
|
"message": "'{}' does not name a capturable value",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ClosureEmitter.cpp",
|
|
"fixits": [],
|
|
"line": 3196,
|
|
"message": "Cannot capture {} by mut because it could be immutable",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ClosureEmitter.cpp",
|
|
"fixits": [],
|
|
"line": 3213,
|
|
"message": "register passible value '{}' can not be captured by {}. Do you mean 'imm'?",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ClosureEmitter.cpp",
|
|
"fixits": [],
|
|
"line": 3237,
|
|
"message": "Cannot capture {} by move because the type is not movable",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ClosureEmitter.cpp",
|
|
"fixits": [],
|
|
"line": 3242,
|
|
"message": "Cannot capture{} by move because the value is read only",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ClosureEmitter.cpp",
|
|
"fixits": [],
|
|
"line": 3294,
|
|
"message": "cannot capture {} by copy because it is not copyable.",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ClosureEmitter.cpp",
|
|
"fixits": [],
|
|
"line": 3319,
|
|
"message": "Could not infer capture convention of the captured value {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ClosureEmitter.cpp",
|
|
"fixits": [],
|
|
"line": 4050,
|
|
"message": "internal error: closure trait missing __call__{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ClosureEmitter.cpp",
|
|
"fixits": [],
|
|
"line": 4071,
|
|
"message": "internal error: incompatible closure traits extended{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/Constraints.cpp",
|
|
"fixits": [],
|
|
"line": 48,
|
|
"message": "{} constraint",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/Constraints.cpp",
|
|
"fixits": [],
|
|
"line": 71,
|
|
"message": "constraint declared here needs evidence for {}",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/Constraints.cpp",
|
|
"fixits": [],
|
|
"line": 85,
|
|
"message": "cannot evaluate call to non-builtin function declared here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/Constraints.cpp",
|
|
"fixits": [],
|
|
"line": 160,
|
|
"message": "constraint declared here evaluated to False, expected {}",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DLValues.cpp",
|
|
"fixits": [],
|
|
"line": 55,
|
|
"message": "cannot read from discard pattern '_'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DLValues.cpp",
|
|
"fixits": [],
|
|
"line": 183,
|
|
"message": "cannot read from set-only value of type {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DLValues.cpp",
|
|
"fixits": [],
|
|
"line": 264,
|
|
"message": "cannot unpack value of type {} into a tuple",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DLValues.cpp",
|
|
"fixits": [],
|
|
"line": 274,
|
|
"message": "cannot unpack value of parametric tuple type {} into a fixed arity",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DLValues.cpp",
|
|
"fixits": [],
|
|
"line": 279,
|
|
"message": "cannot unpack tuple value with {} elements into tuple binding with {} elements",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DLValues.cpp",
|
|
"fixits": [],
|
|
"line": 352,
|
|
"message": "cannot load from list pattern{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 218,
|
|
"message": "@{} decorator is not supported on this declaration",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 229,
|
|
"message": "@{0} accepts either a reason message or a replacement symbol (with 'use'){}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 243,
|
|
"message": "'reason' argument must be a string literal{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 257,
|
|
"message": "'use' must reference a symbol{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 274,
|
|
"message": "cannot reference unknown value '{}'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 300,
|
|
"message": "{0} must specify either a message or a symbol (with the 'use' argument){}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 331,
|
|
"message": "@unavailable can only be applied to functions and methods{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 345,
|
|
"message": "@stable decorator is not supported on this declaration{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 369,
|
|
"message": "@stable accepts only one argument, either 'since' or 'recursive'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 377,
|
|
"message": "@stable requires a keyword argument ('since' or 'recursive'), not a positional argument{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 386,
|
|
"message": "'recursive' argument to @stable must be True{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 392,
|
|
"message": "@stable(recursive=True) is only valid on import statements{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 399,
|
|
"message": "@stable only accepts keyword arguments 'since' or 'recursive'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 407,
|
|
"message": "'since' argument must be a string literal{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 421,
|
|
"message": "'since' argument must be a valid version string (e.g. \"1.0\", \"1.2.3\", \"2.0rc1\"){}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 478,
|
|
"message": "decorator on this statement is unsupported; remove, replace, or correct the decorator{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 496,
|
|
"message": "@deprecated and @stable cannot be used together{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 499,
|
|
"message": "@unavailable and @deprecated cannot be used together{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 502,
|
|
"message": "@unavailable and @stable cannot be used together{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 586,
|
|
"message": "unsupported compiler decorator{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 613,
|
|
"message": "function has conflicting linkage name from a previous @__name or @export decorator",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 730,
|
|
"message": "invalid expression in decorator{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 744,
|
|
"message": "@export can not be applied on parametric functions{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 757,
|
|
"message": "only methods on structs may be declared static{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [
|
|
{
|
|
"kind": "replaceToken",
|
|
"text": "__parameter"
|
|
}
|
|
],
|
|
"line": 779,
|
|
"message": "'@parameter' is deprecated; use '@__parameter'",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 816,
|
|
"message": "'@implicit' decorator takes 0 or 1 arguments, found {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 828,
|
|
"message": "'@implicit' may only have a keyword argument 'deprecated' with literal boolean value",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 838,
|
|
"message": "'@implicit' may only be applied to '__init__' methods",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 871,
|
|
"message": "'@implicit' initializers must accept a single positional argument value",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 883,
|
|
"message": "'@{}' must have arguments",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 894,
|
|
"message": "'@{}' expected a declaration",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 906,
|
|
"message": "cannot capture unknown value '{}'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 911,
|
|
"message": "cannot capture overloaded value '{}'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 919,
|
|
"message": "'@{}' decorator only applies to nested functions",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 936,
|
|
"message": "TODO: @__copy_capture only works as intended with trivial register-passable types{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 988,
|
|
"message": "'@extern' requires 1 argument{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 995,
|
|
"message": "'@extern' requires a string literal argument{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1001,
|
|
"message": "'@extern' cannot be applied to a function with parameters{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1012,
|
|
"message": "'@extern' cannot be applied to a method{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1017,
|
|
"message": "'@extern' requires an explicit 'abi()' effect on the function{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1035,
|
|
"message": " must have at least 1 argument",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1039,
|
|
"message": " requires at most 2 arguments",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1055,
|
|
"message": "only \"C\" ABI is supported at the moment{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1059,
|
|
"message": "ABI=\"C\" is deprecated; use abi(\"C\") instead",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1063,
|
|
"message": " must have at most 1 name argument",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1073,
|
|
"message": " requires a string specifying the linkage name of the symbol",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1081,
|
|
"message": "failure to create linkage name",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1085,
|
|
"message": " requires a string specifying the name of the exported symbol",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1104,
|
|
"message": "only 'main' can be exported as 'main'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1106,
|
|
"message": "exported 'main' must be a function{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1110,
|
|
"message": "'main' can only be exported as 'main'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1129,
|
|
"message": " \"C\" ABI functions must have literal identifiers",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1134,
|
|
"message": " is not a valid C identifier",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1139,
|
|
"message": "'abi(\"C\")' function may not be marked 'raises'; remove 'raises' or use 'abi(\"Mojo\")'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1144,
|
|
"message": " requires an explicit 'abi()' effect on the function",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1157,
|
|
"message": "function has conflicting inline level from a previous '@{}' decorator",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1178,
|
|
"message": "'@always_inline' decorator takes 0 or 1 arguments, found {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1194,
|
|
"message": "'@always_inline' operand must be \"nodebug\" or \"builtin\"",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1221,
|
|
"message": "'@inline' decorator takes exactly 1 argument, found {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1229,
|
|
"message": "'@inline' argument must be positional",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1235,
|
|
"message": "'@inline' argument must be an InlineLevel, not a string; use '.always', '.nodebug', '.never' or '.automatic'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [
|
|
{
|
|
"kind": "remove",
|
|
"text": null
|
|
}
|
|
],
|
|
"line": 1288,
|
|
"message": "'@{}' cannot have arguments",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1317,
|
|
"message": "cannot resolve comptime value '{}' used in '@__llvm_metadata'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1326,
|
|
"message": "name '{}' cannot be used in '@__llvm_metadata'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1343,
|
|
"message": "Expected LLVM metadata name{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1350,
|
|
"message": "LLVM metadata requires a name{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1380,
|
|
"message": "'@__llvm_metadata' requires operands{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1392,
|
|
"message": "'@__llvm_arg_metadata' requires operands{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1401,
|
|
"message": "First argument of '@__llvm_arg_metadata' must be an argument name{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1421,
|
|
"message": "Function decorated by '@__llvm_arg_metadata' has no argument named '{}'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1442,
|
|
"message": "extern functions cannot be inlined{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 1664,
|
|
"message": "a abi(\"C\") function cannot capture variables",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [
|
|
{
|
|
"kind": "replaceToken",
|
|
"text": "def"
|
|
}
|
|
],
|
|
"line": 2082,
|
|
"message": "'fn' has been removed; use 'def' instead",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 2163,
|
|
"message": "parametric '__call__' method cannot be called directly because '{}' defines '__getitem__', '__setitem__', or '__getattr__'; consider using a different name for this method",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 2172,
|
|
"message": "__getitem__ defined here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 2175,
|
|
"message": "__setitem__ defined here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 2178,
|
|
"message": "__getattr__ defined here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 2189,
|
|
"message": "async defaulted trait methods are not supported; remove the method or remove 'async'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 2270,
|
|
"message": "'where' clauses on trait methods are not supported",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 2385,
|
|
"message": "redefinition of function {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 2387,
|
|
"message": "previous definition here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 2461,
|
|
"message": "a abi(\"C\") function cannot capture variables{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 2464,
|
|
"message": "capturing nested functions cannot capture variables; omit 'capturing' to form a closure{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 2540,
|
|
"message": "unexpected function body in @unavailable function declaration, use '...'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 2544,
|
|
"message": "in '{}', declared here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 2556,
|
|
"message": "trait method with a return type must not use 'pass'; use '...' to declare the method as required{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 2696,
|
|
"message": "unexpected function body in extern function declaration, use `...`{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 2746,
|
|
"message": "unable to locate package directory{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 2801,
|
|
"message": "internal error: checked by stmt parser{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 2875,
|
|
"message": "cannot construct a value with parametric type: {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 2898,
|
|
"message": "only traits may contain a comptime member without an initializer",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 2904,
|
|
"message": "comptime value without an initializer must have a type",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 3031,
|
|
"message": "constraint for {} does not imply constraint for ancestor trait {}; strengthen the derived constraint by adding the ancestor's constraint with 'and'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 3096,
|
|
"message": "ancestor trait {} is reached via multiple inheritance paths with different constraints; it must be explicitly listed in the conformance list with the desired constraint",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 3162,
|
|
"message": "trait '{}' appears multiple times in the conformance list with different constraints",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 3239,
|
|
"message": "'where' clauses in conformance lists are only supported on structs{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 3294,
|
|
"message": "traits only refine other traits; remove the struct type from the refinement list",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 3298,
|
|
"message": "structs only conform to traits or trait compositions; remove the struct type from the conformance list",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 3304,
|
|
"message": "traits only refine other traits; remove the type parameter from the refinement list",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 3308,
|
|
"message": "structs only conform to traits or trait compositions; remove the type parameter from the conformance list",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 3312,
|
|
"message": "refinement and conformance lists may only contain traits",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 3354,
|
|
"message": "failed to emit constraint expression{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 3472,
|
|
"message": "@align requires a compile-time value{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 3486,
|
|
"message": "@align value must be a positive power of 2{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 3495,
|
|
"message": "@align value exceeds maximum alignment (2^29){}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 3516,
|
|
"message": "decorator @register_passable is removed, conform to RegisterPassable trait instead{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 3524,
|
|
"message": "@align requires exactly one argument{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 3535,
|
|
"message": "decorator @register_passable(\"trivial\") is removed, conform to TrivialRegisterPassable trait instead{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 3641,
|
|
"message": "@explicit_destroy requires an argument: `@explicit_destroy(\"...\")`",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 3644,
|
|
"message": "Use `Deinitable where False` conformance to opt out of implicit deletion. `@explicit_destroy` is no longer required.",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 3657,
|
|
"message": "expected exactly one argument: `@explicit_destroy(\"...\")`",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 3663,
|
|
"message": "expected a string literal argument: `@explicit_destroy(\"...\")`",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 3843,
|
|
"message": "@explicit_destroy is not valid on `struct` with unconditional conformance to `Deinitable`",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 3846,
|
|
"message": "Add `Deinitable where False` conformance or remove `@explicit_destroy`",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 3888,
|
|
"message": "conditional conformance to 'TrivialRegisterPassable' is not supported",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 4009,
|
|
"message": "'{}' has an explicitly declared fieldwise initializer",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 4012,
|
|
"message": "initializer declared here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 4027,
|
|
"message": "@fieldwise_init(\"implicit\") is only valid on structs with a single field{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 4060,
|
|
"message": "@fieldwise_init only allows an \"implicit\" argument{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 4098,
|
|
"message": "all members of '{}RegisterPassable' struct must themselves be '{}RegisterPassable'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 4102,
|
|
"message": "{} declared with type {}",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 4325,
|
|
"message": "trait member '{}' has conflicting default implementations in {} and {}; you must implement it manually",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 4332,
|
|
"message": "original default implementation from trait {} here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 4336,
|
|
"message": "conflicting implementation from trait {} here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 4416,
|
|
"message": "struct fields do not support trait types; {} is a trait, use a concrete type or compile-time generic",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 4441,
|
|
"message": "decorators not supported on this statement{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 4466,
|
|
"message": "struct fields cannot expose AnyOrigin in their type; {} has type {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 4469,
|
|
"message": "consider parameterizing enclosing struct with an Origin",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 4471,
|
|
"message": "alternatively, use UntrackedOrigin if lifetime is managed explicitly",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 4561,
|
|
"message": "unrecognized body decorators {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 4577,
|
|
"message": "trait declarations do not support parameters; remove the parameter list{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 4669,
|
|
"message": "@explicit_destroy cannot be used on a trait that conforms to Deinitable{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 4838,
|
|
"message": "can't find a struct named '{}'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 4887,
|
|
"message": "cannot specify parameter declarations on extensions{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 4890,
|
|
"message": "extension already assumes these parameter declarations",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 4973,
|
|
"message": "invalid redefinition of {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 4975,
|
|
"message": "extension {} conflicts with struct {}",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 5106,
|
|
"message": "invalid redefinition of '{}': cannot convert {} to the other trait's member's type {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 5110,
|
|
"message": "the other trait's member defined here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 5202,
|
|
"message": "unexpected decl in trait{} declared here",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 5203,
|
|
"message": " declared here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolution.cpp",
|
|
"fixits": [],
|
|
"line": 5225,
|
|
"message": "conflicting comptime alias declared here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 237,
|
|
"message": "invalid redefinition of {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 239,
|
|
"message": "cannot overload with this non-function definition",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 275,
|
|
"message": "cannot define {} here with name {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 278,
|
|
"message": "conflicts with this previous declaration",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 291,
|
|
"message": "cannot define a struct here with name {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 303,
|
|
"message": "conflicts with this previous struct declaration",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 345,
|
|
"message": "previous definition here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 538,
|
|
"message": "import of {} is ambiguous",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 539,
|
|
"message": "{} declared here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 540,
|
|
"message": "{} also declared here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 1232,
|
|
"message": " '' does not contain ''{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 1341,
|
|
"message": "failed to import extensions from module ''{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 1360,
|
|
"message": "failed to import extension for '' from module ''{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 1519,
|
|
"message": "attempt to resolve a recursive reference to declaration{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 1534,
|
|
"message": "referenced from here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 1540,
|
|
"message": "by declaration",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 1543,
|
|
"message": "referenced through this use",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitTokenError",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 1642,
|
|
"message": "definition isn't on its own line at the correct indentation{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitTokenError",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 1646,
|
|
"message": "internal error: decl parsing skipped beyond end of declaration{}declaration started here",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 1649,
|
|
"message": "declaration started here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitTokenError",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 1652,
|
|
"message": "unknown tokens at the end of a declaration{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 2003,
|
|
"message": "invalid re-export of {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 2004,
|
|
"message": "previous export here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 2026,
|
|
"message": "'main()' does not accept parameters; remove the square brackets{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 2043,
|
|
"message": "'main()' does not return a value; remove the return type{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 2048,
|
|
"message": "'main()' does not accept arguments; remove them{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 2055,
|
|
"message": "'main()' is not supported within packages{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/DeclResolver.cpp",
|
|
"fixits": [],
|
|
"line": 2068,
|
|
"message": "unable to resolve `Builtin.Startup` module when exporting 'main'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/DocString.cpp",
|
|
"fixits": [],
|
|
"line": 720,
|
|
"message": "see previous definition here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprConversions.cpp",
|
|
"fixits": [],
|
|
"line": 610,
|
|
"message": "TODO: function type conversions between closures not supported yet{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprConversions.cpp",
|
|
"fixits": [],
|
|
"line": 855,
|
|
"message": "TODO: dynamic generator conversions not supported yet{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprConversions.cpp",
|
|
"fixits": [],
|
|
"line": 1517,
|
|
"message": "value of type {} is not compatible with value of type {}{}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprConversions.cpp",
|
|
"fixits": [],
|
|
"line": 1522,
|
|
"message": "ambiguous merge: left value has type {} and right value has type {}, and both convert to each other{}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ExprConversions.cpp",
|
|
"fixits": [],
|
|
"line": 1526,
|
|
"message": "you could disambiguate by casting the left value to {}{}",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ExprConversions.cpp",
|
|
"fixits": [],
|
|
"line": 1529,
|
|
"message": "or cast the right value to {}{}",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprConversions.cpp",
|
|
"fixits": [],
|
|
"line": 1534,
|
|
"message": "value of types {} and {} have '__merge_with__' methods that disagree on common type{}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ExprConversions.cpp",
|
|
"fixits": [],
|
|
"line": 1540,
|
|
"message": "one returns {} and the other returns {}",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprConversions.cpp",
|
|
"fixits": [],
|
|
"line": 1545,
|
|
"message": "value of types {} and {} cannot be merged to type {}{}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ExprConversions.cpp",
|
|
"fixits": [],
|
|
"line": 1549,
|
|
"message": "{} does not implicitly convert to {}",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprConversions.cpp",
|
|
"fixits": [],
|
|
"line": 1686,
|
|
"message": "existentials are not supported yet!{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprConversions.cpp",
|
|
"fixits": [],
|
|
"line": 1706,
|
|
"message": "malformed builtin._stubs.__MLIRType{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprConversions.cpp",
|
|
"fixits": [],
|
|
"line": 1715,
|
|
"message": "cannot bind MLIR type {} to trait {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprConversions.cpp",
|
|
"fixits": [],
|
|
"line": 2462,
|
|
"message": "can not convert {} to {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprConversions.cpp",
|
|
"fixits": [],
|
|
"line": 2524,
|
|
"message": "cannot construct a value with parametric type: {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprConversions.cpp",
|
|
"fixits": [],
|
|
"line": 2562,
|
|
"message": "cannot implicitly convert {} to a `StringSpan`",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprDest.cpp",
|
|
"fixits": [],
|
|
"line": 525,
|
|
"message": "cannot synthesize lvalue of {}type {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 78,
|
|
"message": "invalid comptime declaration: expected an identifier or '_'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 131,
|
|
"message": "invalid MLIR attribute: {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 133,
|
|
"message": "attempting to parse: '{}'",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 178,
|
|
"message": "only positional operands allowed in mlir magic{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 238,
|
|
"message": "mlir magic expanded to an empty string{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 323,
|
|
"message": "trivially constructable attribute. Use `__mlir_attr` instead.",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 385,
|
|
"message": "operation already has attributes{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 397,
|
|
"message": "attribute spec requires a keyword parameter{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 481,
|
|
"message": "cannot access comptime member '{}' with unbound parameter '{}.{}'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 584,
|
|
"message": "cannot read from discard pattern '_'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 599,
|
|
"message": "'Self' type may only be used inside a struct, trait, or extension{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 609,
|
|
"message": "'Self' type is not available in this context{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 638,
|
|
"message": "malformed Literal type{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [
|
|
{
|
|
"kind": "insertBeforeToken",
|
|
"text": "self."
|
|
}
|
|
],
|
|
"line": 867,
|
|
"message": "cannot access instance field '{}' directly; did you mean 'self.'?{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [
|
|
{
|
|
"kind": "insertBeforeToken",
|
|
"text": null
|
|
}
|
|
],
|
|
"line": 898,
|
|
"message": "cannot access {}'{}' directly; did you mean '{}'?{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 918,
|
|
"message": "use of unknown declaration '{}'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 1177,
|
|
"message": "cannot declare '{}' without a contextual type from its initializer{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 1184,
|
|
"message": "cannot declare '{}' in this context{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 1259,
|
|
"message": "'{}' is also a struct field; did you mean 'self.'?",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 1262,
|
|
"message": "'{}' declared here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 1416,
|
|
"message": "unqualified access to struct parameter '{}'; use 'Self.{}' instead",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 1421,
|
|
"message": "parameter '{}' declared here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 1466,
|
|
"message": "Could not infer capture convention of the captured value {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 1499,
|
|
"message": "use of declaration '{}' as a value isn't supported yet{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 1544,
|
|
"message": "invalid MLIR type: {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 1550,
|
|
"message": "MLIR error: {}",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 1646,
|
|
"message": "'**_' not supported on parameter list, using '...' instead{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 1660,
|
|
"message": "'*_' not supported on parameter list, using '...' instead{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 1695,
|
|
"message": "parameter after `...` must be passed by keyword{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 1807,
|
|
"message": "types are not subscriptable{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 1917,
|
|
"message": "{} has '{}' but no '{}' method{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 1920,
|
|
"message": "used in an expression here{}",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 1988,
|
|
"message": "{} must take at least one argument for the value to set{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2001,
|
|
"message": "keyword argument {} may not be specified in the index list, it is needed for the new value{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2100,
|
|
"message": "{} needs more parameters bound before accessing attributes{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2108,
|
|
"message": "{} has no attributes{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2199,
|
|
"message": "cannot access attribute in type {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2253,
|
|
"message": "Direct access of trait members is not supported.{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2336,
|
|
"message": "can't access '{}' in non-parameter {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2400,
|
|
"message": "cannot access instance field '{}' without an instance of {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2455,
|
|
"message": "'{}' refers to an unbound parameter in {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2467,
|
|
"message": "reference to unknown member '{}'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2535,
|
|
"message": "MLIR operators only support positional arguments{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2569,
|
|
"message": "unknown _type value{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2627,
|
|
"message": "MLIR operation region must be a region reference{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2638,
|
|
"message": "MLIR operation region reference did not resolve to a region body{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2707,
|
|
"message": " failed properties conversion while building {} with `{}`: ",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2727,
|
|
"message": "unable to infer result type from MLIR operation {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2733,
|
|
"message": "cannot use operations with multiple inferred results (yet) {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2743,
|
|
"message": "{} cannot be returned directly from __mlir_op as it is not a 'RegisterPassable' types",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2755,
|
|
"message": "use of unregistered MLIR operation {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2767,
|
|
"message": "attribute {} is not an inherent attribute of {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2779,
|
|
"message": "cannot set property{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2799,
|
|
"message": "MLIR verification error: {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2844,
|
|
"message": "{} operation folded to result type {} but we expected it to be {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2896,
|
|
"message": "unbound packs not supported yet in runtime arguments",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2919,
|
|
"message": "cannot construct type {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 2944,
|
|
"message": "cannot call this unresolved expression{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 3003,
|
|
"message": "duplicate '_type' in __mlir_op[...]{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 3009,
|
|
"message": "__mlir_op[...] only accepts backtick template chunks and an optional '_type=' keyword{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 3016,
|
|
"message": "__mlir_op[...] requires a backtick f-string template{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 3029,
|
|
"message": "__mlir_op[...] template chunk must be a backtick string{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 3100,
|
|
"message": "unterminated `%{...}` placeholder{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 3111,
|
|
"message": "invalid identifier in `%{...}` placeholder: '{}'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 3162,
|
|
"message": "`%{type_of({})}` is not supported for comptime parameter placeholders",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 3194,
|
|
"message": "reserved `%...` placeholder in __mlir_op template; use `%{name}` or `%{type_of(name)}`{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 3271,
|
|
"message": "_type does not match parsed op's result types{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 3277,
|
|
"message": "{} cannot be returned directly from __mlir_op as it is not a 'RegisterPassable' type",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 3425,
|
|
"message": "trivially constructable type. Use `__mlir_type` instead.",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 3536,
|
|
"message": "cannot destructure into list patterns yet{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 3551,
|
|
"message": "TODO: unpack emission in dict literal not supported yet{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 3585,
|
|
"message": "expected identifier in initializer list{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 3677,
|
|
"message": "operator not yet supported{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 3750,
|
|
"message": "expression must be mutable in assignment{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 3828,
|
|
"message": "walrus operator target must be a mutable memory location{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 3899,
|
|
"message": "'as' patterns are only valid in a 'case' clause{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 3941,
|
|
"message": "redundant trait composition: {} already implies {}",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 4109,
|
|
"message": "unreachable code on right side of 'True or ...'",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 4113,
|
|
"message": "unreachable code on right side of 'False and ...'",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 4119,
|
|
"message": "constant value on left side of '{} {} ...'",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 4191,
|
|
"message": "cannot transfer from a parameter expression; did you want to introduce a local 'var'?{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [
|
|
{
|
|
"kind": "remove",
|
|
"text": null
|
|
}
|
|
],
|
|
"line": 4196,
|
|
"message": "transfer from an owned value has no effect and can be removed",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [
|
|
{
|
|
"kind": "remove",
|
|
"text": null
|
|
}
|
|
],
|
|
"line": 4207,
|
|
"message": "transfer from a value of trivial register type {} has no effect and can be removed",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 4217,
|
|
"message": "expression is a register value, transfer requires ownership{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 4224,
|
|
"message": "expression does not live in a memory location, so it need not be transferred{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 4238,
|
|
"message": "expression does not designate a value with an origin{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 4245,
|
|
"message": "cannot transfer out of immutable reference{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 4270,
|
|
"message": "nested 'var' or 'ref' patterns are redundant, remove the outer pattern",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 4288,
|
|
"message": "{} pattern didn't declare a new variable, it can be removed",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [
|
|
{
|
|
"kind": "remove",
|
|
"text": null
|
|
}
|
|
],
|
|
"line": 4305,
|
|
"message": "expression is already evaluated at compile time; remove 'comptime' keyword",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 4331,
|
|
"message": "{} patterns are only valid on the left side of an assignment",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 4351,
|
|
"message": "can't use starred expression here{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 4477,
|
|
"message": "left hand side expression of 'if False' is dead",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 4480,
|
|
"message": "right hand side expression of 'if True' is dead",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 4615,
|
|
"message": "comparison result types of chained comparison must match{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 4643,
|
|
"message": "chained comparison operator does not currently support memory-only return types{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 4840,
|
|
"message": "expected {} arguments, but this call has {} arguments{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 4896,
|
|
"message": "cannot use non-memory value{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 4912,
|
|
"message": "operand isn't a '!lit.ref' type {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 4935,
|
|
"message": "operand must have '!kgen.pointer<T>' type, not {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 5015,
|
|
"message": "expected a type or param_list operand{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 5024,
|
|
"message": "param_list operand must contain type expressions{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 5032,
|
|
"message": "{} is not a type expression{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 5045,
|
|
"message": "expected a trait for the second argument{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 5123,
|
|
"message": "failed to resolve signature for function {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 5167,
|
|
"message": "can not locate 'AnyType'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 5193,
|
|
"message": "struct_field_ref requires a compile-time integer index{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 5208,
|
|
"message": "struct_field_ref requires a reference to a struct{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 5242,
|
|
"message": "could not find struct declaration for {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 5263,
|
|
"message": "struct field index is out of bounds{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 5367,
|
|
"message": "expected a tuple type to destructure, got {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 5385,
|
|
"message": "cannot unpack value of {} of {} element{} into {} value{}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprNodes.cpp",
|
|
"fixits": [],
|
|
"line": 5504,
|
|
"message": "cannot unpack value of type {} into {} value{}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 53,
|
|
"message": "expression is not a valid match pattern{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 124,
|
|
"message": "bare identifier '{}' is not a valid match pattern; use 'var {}' or 'ref {}' to bind a name",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 259,
|
|
"message": "or-pattern alternatives must bind the same names; '{}' is bound in one alternative but not the other",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 279,
|
|
"message": "or-pattern binding '{}' must use the same 'var'/'ref' kind in each alternative",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 290,
|
|
"message": "or-pattern binding '{}' has incompatible types across alternatives",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 293,
|
|
"message": "left alternative has type {}, right has type {}",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 439,
|
|
"message": "expected a name after 'as'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 464,
|
|
"message": "nested 'var' or 'ref' patterns are redundant, remove the outer pattern",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 488,
|
|
"message": "expected a tuple type to match against, got {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 497,
|
|
"message": "cannot match value of {} of {} element{} against a pattern with {} element{}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 591,
|
|
"message": "cannot match value of type {} against pattern type {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 599,
|
|
"message": "expected a struct type to match against, got {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 606,
|
|
"message": "cannot match fields of {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 629,
|
|
"message": "struct patterns do not support positional or unpacked arguments{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 643,
|
|
"message": "'{}' is not a field of {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 651,
|
|
"message": "'{}' is not a stored field of {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 658,
|
|
"message": "duplicate field '{}' in struct pattern{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 725,
|
|
"message": "cannot match value of type {} against enum case of type {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 745,
|
|
"message": "cannot match on a parametric enum type{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 755,
|
|
"message": "'{}' is not a case of {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 773,
|
|
"message": "'_enum_case_types' must be a parameter list covering every case{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 782,
|
|
"message": "'_enum_case_types' elements must be types{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 873,
|
|
"message": "enum case pattern must be written as 'Type.Case(...)' or '.Case(...)'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 893,
|
|
"message": "enum case '{}' has no associated value{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 901,
|
|
"message": "enum case '{}' requires a payload pattern inside the parentheses{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 910,
|
|
"message": "enum case patterns do not support keyword arguments{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 916,
|
|
"message": "enum case patterns do not support unpacked arguments{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ExprPatterns.cpp",
|
|
"fixits": [],
|
|
"line": 926,
|
|
"message": "enum case patterns currently support at most one payload subpattern{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 351,
|
|
"message": "expression must be mutable{}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 367,
|
|
"message": "dynamic type values not permitted yet{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 382,
|
|
"message": "cannot materialize compile-time value of type {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 386,
|
|
"message": "the type contains an origin referring to a compile-time value",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 430,
|
|
"message": "cannot use parametric function as a runtime closure{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 433,
|
|
"message": "parameter {} of type {} is not bound",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 441,
|
|
"message": "TODO: capturing closures cannot be materialized as runtime values{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 472,
|
|
"message": "cannot use package name {} as a runtime value{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 478,
|
|
"message": "cannot materialize comptime value of type {} to runtime because it is not 'ImplicitlyCopyable'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [
|
|
{
|
|
"kind": "insertBeforeToken",
|
|
"text": "materialize["
|
|
},
|
|
{
|
|
"kind": "insertAfterToken",
|
|
"text": "]()"
|
|
}
|
|
],
|
|
"line": 483,
|
|
"message": "use 'materialize' to explicitly materialize the value",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 500,
|
|
"message": "cannot load non-register passable type into SSA register (compiler bug, please report!)",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 645,
|
|
"message": "value{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 977,
|
|
"message": "value of type {} cannot be copied into a non-default address space{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 1017,
|
|
"message": "value of type {} cannot be copied or moved; consider conforming it to 'Movable'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 1024,
|
|
"message": "value of type {} cannot be implicitly copied, it does not conform to 'ImplicitlyCopyable'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [
|
|
{
|
|
"kind": "insertAfterToken",
|
|
"text": "^"
|
|
}
|
|
],
|
|
"line": 1048,
|
|
"message": "consider transferring the value with '^'",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [
|
|
{
|
|
"kind": "insertAfterToken",
|
|
"text": ".copy()"
|
|
}
|
|
],
|
|
"line": 1057,
|
|
"message": "you can copy it explicitly with '.copy()'",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 1176,
|
|
"message": "value of type {} cannot be copied or moved into a non-default address space{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 1237,
|
|
"message": "cannot transfer value into destination, because {} doesn't conform to 'Movable'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 1268,
|
|
"message": "INTERNAL ERROR: could not find context to emit IR into. Please file a bug.{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 1319,
|
|
"message": "expected a type, found a tuple value; use 'Tuple[...]' to write a tuple type{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 1339,
|
|
"message": "expected a type, not a value{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 1353,
|
|
"message": "function type missing required origin set parameter{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 1380,
|
|
"message": "{} is not concrete, use '[]' to bind missing parameters",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 1390,
|
|
"message": "{} is not a concrete type, use '[]' to bind missing parameters",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 1963,
|
|
"message": "origin declared here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IREmitter.cpp",
|
|
"fixits": [],
|
|
"line": 2109,
|
|
"message": "malformed Origin type{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IRValues.cpp",
|
|
"fixits": [],
|
|
"line": 662,
|
|
"message": "cannot emit slice expression without a contextual type{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IRValues.cpp",
|
|
"fixits": [],
|
|
"line": 667,
|
|
"message": "cannot emit an empty list without a contextual type{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/IRValues.cpp",
|
|
"fixits": [],
|
|
"line": 801,
|
|
"message": "cannot resolve inferred member without a contextual type{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Lexer.cpp",
|
|
"fixits": [],
|
|
"line": 174,
|
|
"message": "indentation must not mix tabs and spaces; select one style{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/ModuleLoader.cpp",
|
|
"fixits": [],
|
|
"line": 383,
|
|
"message": "'' and '' name the same ; remove the duplicate import root or file that reaches it twice{}",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ModuleLoader.cpp",
|
|
"fixits": [],
|
|
"line": 392,
|
|
"message": "'{}' is the name used in error messages and debug info",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ModuleLoader.cpp",
|
|
"fixits": [],
|
|
"line": 788,
|
|
"message": "cannot import relative to a top-level package{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ModuleLoader.cpp",
|
|
"fixits": [],
|
|
"line": 796,
|
|
"message": "attempted relative import with no known parent package{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ModuleLoader.cpp",
|
|
"fixits": [],
|
|
"line": 835,
|
|
"message": "'' is a module, not a package; it has no nested module or package ''{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ModuleLoader.cpp",
|
|
"fixits": [],
|
|
"line": 842,
|
|
"message": "'' does not refer to a nested package{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/MojoUtils.cpp",
|
|
"fixits": [],
|
|
"line": 83,
|
|
"message": "internal error: could not find builtin 'Coroutine' type{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/OverloadFitness.cpp",
|
|
"fixits": [],
|
|
"line": 55,
|
|
"message": "try resolving the overloaded function first",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/OverloadFitness.cpp",
|
|
"fixits": [],
|
|
"line": 71,
|
|
"message": "memory-only type bound to generic result type: {} returns {} by reference",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/OverloadFitness.cpp",
|
|
"fixits": [],
|
|
"line": 90,
|
|
"message": "cannot bind an RValue to a reference",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/OverloadFitness.cpp",
|
|
"fixits": [],
|
|
"line": 94,
|
|
"message": "operand does not have a memory representation",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/OverloadFitness.cpp",
|
|
"fixits": [],
|
|
"line": 101,
|
|
"message": "operand element type {} doesn't match expected element type {}",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/OverloadFitness.cpp",
|
|
"fixits": [],
|
|
"line": 106,
|
|
"message": "operand address space {} doesn't match expected address space {}",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/OverloadFitness.cpp",
|
|
"fixits": [],
|
|
"line": 114,
|
|
"message": "operand mutability {} doesn't match expected mutability {}",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/OverloadFitness.cpp",
|
|
"fixits": [],
|
|
"line": 131,
|
|
"message": "operand origin '{}' doesn't match expected origin '{}'",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/OverloadFitness.cpp",
|
|
"fixits": [],
|
|
"line": 480,
|
|
"message": "result cannot bind __TypeOfAllTypes type to memory-only type {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/OverloadSet.cpp",
|
|
"fixits": [],
|
|
"line": 318,
|
|
"message": "candidate is valid but cannot be selected until other candidates are disproved",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/OverloadSet.cpp",
|
|
"fixits": [],
|
|
"line": 324,
|
|
"message": "cannot prove",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/OverloadSet.cpp",
|
|
"fixits": [],
|
|
"line": 334,
|
|
"message": "provide evidence for ",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/OverloadSet.cpp",
|
|
"fixits": [],
|
|
"line": 345,
|
|
"message": "body constraints cannot be deferred because more than one candidate is inconclusive",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/OverloadSet.cpp",
|
|
"fixits": [],
|
|
"line": 385,
|
|
"message": "cannot form a reference to overloaded declaration of '{}'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/OverloadSet.cpp",
|
|
"fixits": [],
|
|
"line": 390,
|
|
"message": "candidate not viable: {}",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/OverloadSet.cpp",
|
|
"fixits": [],
|
|
"line": 453,
|
|
"message": "add '()' to call the function",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/OverloadSet.cpp",
|
|
"fixits": [],
|
|
"line": 455,
|
|
"message": "candidate declared here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/OverloadSet.cpp",
|
|
"fixits": [],
|
|
"line": 538,
|
|
"message": "non-implicitly trivially copyable value cannot be copied from a non-default address space{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/OverloadSet.cpp",
|
|
"fixits": [],
|
|
"line": 800,
|
|
"message": "function declared here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/OverloadSet.cpp",
|
|
"fixits": [],
|
|
"line": 872,
|
|
"message": "deprecated implicit conversion from {} to {}{}",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/OverloadSet.cpp",
|
|
"fixits": [
|
|
{
|
|
"kind": "insertBeforeToken",
|
|
"text": "("
|
|
},
|
|
{
|
|
"kind": "insertAfterToken",
|
|
"text": ")"
|
|
}
|
|
],
|
|
"line": 877,
|
|
"message": "call '{}{}",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/OverloadSet.cpp",
|
|
"fixits": [],
|
|
"line": 884,
|
|
"message": "implicit constructor for {} declared here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/OverloadSet.cpp",
|
|
"fixits": [],
|
|
"line": 932,
|
|
"message": "ambiguous call to '{}'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/OverloadSet.cpp",
|
|
"fixits": [],
|
|
"line": 955,
|
|
"message": "cannot convert function to non-function type {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/OverloadSet.cpp",
|
|
"fixits": [],
|
|
"line": 1124,
|
|
"message": "candidate declared here with type ",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/OverloadSet.cpp",
|
|
"fixits": [],
|
|
"line": 1402,
|
|
"message": "member method closures are not supported; add '()' to call '{}'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/OverloadSet.cpp",
|
|
"fixits": [],
|
|
"line": 1575,
|
|
"message": "invalid indirect call: {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/OverloadSet.cpp",
|
|
"fixits": [],
|
|
"line": 1651,
|
|
"message": "{} does not implement the '{}' method",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/OverloadSet.cpp",
|
|
"fixits": [],
|
|
"line": 1757,
|
|
"message": "MLIR type {} must be created with an MLIR operation, not constructor syntax",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParamBindings.cpp",
|
|
"fixits": [],
|
|
"line": 51,
|
|
"message": "invalid bindings for {}: lacking evidence to prove correctness",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ParamBindings.cpp",
|
|
"fixits": [],
|
|
"line": 55,
|
|
"message": "cannot prove constraint{}",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParamBindings.cpp",
|
|
"fixits": [],
|
|
"line": 258,
|
|
"message": "recursive references to nested functions are not supported; define '{}' at file scope",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ParamBindings.cpp",
|
|
"fixits": [],
|
|
"line": 262,
|
|
"message": "nested function declared here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ParamInf.cpp",
|
|
"fixits": [],
|
|
"line": 720,
|
|
"message": "a thin function cannot bind to a closure trait; use 'type_of({})' to pass its type instead",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ParamInf.cpp",
|
|
"fixits": [],
|
|
"line": 930,
|
|
"message": "function declared here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ParamInf.cpp",
|
|
"fixits": [],
|
|
"line": 932,
|
|
"message": "'{}' declared here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ParamInf.cpp",
|
|
"fixits": [],
|
|
"line": 1311,
|
|
"message": " struct declared here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ParamMatcher.cpp",
|
|
"fixits": [],
|
|
"line": 78,
|
|
"message": "try `rebind` them to one type if they will be concretized to the same type",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserBase.cpp",
|
|
"fixits": [],
|
|
"line": 42,
|
|
"message": " may not appear at the start of the line{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ParserBase.cpp",
|
|
"fixits": [],
|
|
"line": 64,
|
|
"message": "escape keyword '{}' with backticks to use it as an identifier",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitTokenError",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 523,
|
|
"message": "expected '(' after 'comptime'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitTokenError",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 695,
|
|
"message": "unexpected token in expression{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 827,
|
|
"message": "unmatched '{' in t-string; add '}' to close the expression or use '{{' for a literal brace{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 837,
|
|
"message": "t-string expression must not be empty; add an expression or remove these braces{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 860,
|
|
"message": "format specifiers are not supported in t-strings; format the value manually before interpolating{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 868,
|
|
"message": "expected '}' to close t-string expression{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 1005,
|
|
"message": "list comprehension must have a single expression before 'for'; remove extra expressions{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitTokenError",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 1014,
|
|
"message": "expected ']' in list expression{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 1076,
|
|
"message": "expected 'key: value' in dictionary expression{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 1078,
|
|
"message": "cannot have a 'key: value' pair in set initializer{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 1089,
|
|
"message": "comprehension must have a single expression before 'for'; remove extra expressions{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 1094,
|
|
"message": "cannot use keyword argument in set comprehension{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitTokenError",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [
|
|
{
|
|
"kind": "replaceToken",
|
|
"text": ":"
|
|
}
|
|
],
|
|
"line": 1245,
|
|
"message": "expected ':' in subscript slice, not '='",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 1288,
|
|
"message": "unpack markers (*name syntax) must not appear more than once in a call; remove the second unpack{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 1290,
|
|
"message": "previous unpacked positional argument specified here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 1295,
|
|
"message": "positional unpack must not follow keyword unpacking; move it before the '**' unpack{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 1303,
|
|
"message": "positional argument must not follow an unpack; move it before or convert to a keyword argument{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 1305,
|
|
"message": "unpacked positional argument specified here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 1316,
|
|
"message": "positional argument must not follow a keyword argument; move it before or convert to a keyword argument{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 1321,
|
|
"message": "positional {} must not follow keyword unpacking; move it before or convert to a keyword argument",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 1330,
|
|
"message": "keyword {} {} was already used; remove the duplicate",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 1333,
|
|
"message": "previously specified here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [
|
|
{
|
|
"kind": "replaceToken",
|
|
"text": "def"
|
|
}
|
|
],
|
|
"line": 1405,
|
|
"message": "'fn' has been removed; use 'def' instead",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 1437,
|
|
"message": "trailing constraints are only supported for thin functions{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 1504,
|
|
"message": "unparenthesized lambda arguments are not supported; write them in parentheses, with types, e.g. `lambda (x: Int, y: Int) -> Int: x + y`{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserExprs.cpp",
|
|
"fixits": [],
|
|
"line": 1777,
|
|
"message": "'=' must be followed by an expression on the same line{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 152,
|
|
"message": "found stray '@'; '@' must be followed by a decorator name{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitTokenError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 170,
|
|
"message": "unexpected tokens after decorator, each need to be on their own line{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 426,
|
|
"message": "'{}' must be contained in a function",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 478,
|
|
"message": "body must not be empty; use 'pass' or check that the lines below are indented",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitTokenError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 489,
|
|
"message": "statements must start at the beginning of a line{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 499,
|
|
"message": "statement indentation must match the rest of the block; adjust to align",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [
|
|
{
|
|
"kind": "insertAfterToken",
|
|
"text": "()"
|
|
}
|
|
],
|
|
"line": 577,
|
|
"message": "function is not called; add '()' after name{}",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [
|
|
{
|
|
"kind": "insertBeforeToken",
|
|
"text": "await "
|
|
}
|
|
],
|
|
"line": 589,
|
|
"message": "{} value is not awaited; use 'await' to get its result{}",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [
|
|
{
|
|
"kind": "insertBeforeToken",
|
|
"text": "_ = "
|
|
}
|
|
],
|
|
"line": 598,
|
|
"message": "{} value is unused; assign to '_' to discard the result{}",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitTokenError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 664,
|
|
"message": "'{}' statement must be on its own line",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 695,
|
|
"message": "decorators must be on their own line; add a newline after the decorator",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 709,
|
|
"message": "decorator must be followed by a definition on the next line; remove any blank lines between them",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 853,
|
|
"message": "expressions must not appear at file scope; move this into a function body",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 857,
|
|
"message": "bare expressions must not appear within structs; use 'var' for a field or move this into a method body",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 861,
|
|
"message": "bare expressions must not appear within traits; use 'comptime' for an associated type or move this into a method body",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 865,
|
|
"message": "bare expressions must not appear within extensions; move this into a method body",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 870,
|
|
"message": "bare expression must not appear here; move this into a function body{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitTokenError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 965,
|
|
"message": "'comptime' cannot be used with '{}'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 1058,
|
|
"message": "'comptime assert' must be inside a function; move this into a function body{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 1128,
|
|
"message": "'return' must be inside a function; move this into a function body{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 1194,
|
|
"message": "cannot return reference with incompatible ",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [
|
|
{
|
|
"kind": "remove",
|
|
"text": null
|
|
}
|
|
],
|
|
"line": 1248,
|
|
"message": "remove the expression if the return slot is already initialized",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 1365,
|
|
"message": "'raise' requires a surrounding 'try' block or the enclosing function to declare 'raises'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 1391,
|
|
"message": "'raise' must live within an 'except' block or a function marked 'raises'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 1427,
|
|
"message": "'assert' must be inside a function; move this into a function body{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 1777,
|
|
"message": "'__match' statement must have at least one 'case' block",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 1931,
|
|
"message": "to conform to 'Iterable', add it to the struct declaration: 'struct Foo(Iterable):'",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 2030,
|
|
"message": "'for' loop variables must be identifiers; use a valid name{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitTokenError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 2414,
|
|
"message": "expected 'except' or 'finally' block{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 2589,
|
|
"message": "context manager of type {} defines a consuming __enter__ method as well as an __exit__ method; either remove 'var' from its '__enter__' method or remove the '__exit__' method{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 2596,
|
|
"message": "{} declared here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 2978,
|
|
"message": "'comptime if' condition must be evaluable at compile-time{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 3204,
|
|
"message": "'if' condition always evaluates to '{}{}",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 3266,
|
|
"message": "'import' statements must be at module or function scope; move this to a valid location",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 3301,
|
|
"message": "'recursive' argument to @stable must be True{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 3305,
|
|
"message": "@stable on import requires 'recursive=True' argument{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 3323,
|
|
"message": "'from' statement supports only the @stable and @__doc_inline decorators; remove the decorator{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 3362,
|
|
"message": "@stable(recursive=True) is not supported on wildcard imports{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 3365,
|
|
"message": "@__doc_inline is not supported on wildcard imports{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 3456,
|
|
"message": "@stable(recursive=True) is not supported on renamed imports ('import ... as ...'){}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 3471,
|
|
"message": "@__doc_inline is not supported on renamed imports ('import ... as ...'){}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 3693,
|
|
"message": "relative imports must use 'from'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 3737,
|
|
"message": "'{}' cannot be used as a function name in this context",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 3901,
|
|
"message": "'{}' statement does not support decorators; remove the decorator",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 3916,
|
|
"message": "traits do not support 'var' fields; use 'comptime' to declare associated types{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 3932,
|
|
"message": "global variables are not supported; move this into a function body or use 'comptime' to declare a constant{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 4010,
|
|
"message": "declaration must have either a type or an initializer{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 4068,
|
|
"message": "expected '=' after comptime declaration{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 4076,
|
|
"message": "'comptime' constants inside structs must be declared separately; break this into individual declarationsa trait's associated types must be declared separately; break this into individual declarations{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitTokenError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 4148,
|
|
"message": "nested struct not supported here{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitTokenError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 4151,
|
|
"message": "nested struct in a trait not supported here{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitTokenError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 4154,
|
|
"message": "struct inside a function not supported here{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitTokenError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 4198,
|
|
"message": "nested trait not supported here{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitTokenError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 4229,
|
|
"message": "nested extension not supported here{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitTokenError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 4232,
|
|
"message": "nested extension in a trait not supported here{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitTokenError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 4235,
|
|
"message": "extension inside a function not supported here{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitTokenError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 4290,
|
|
"message": "classes are not supported yet{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/ParserStmts.cpp",
|
|
"fixits": [],
|
|
"line": 4445,
|
|
"message": "list comprehension must execute in runtime contexts; remove 'comptime' and move this into a function body{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/SharedState.cpp",
|
|
"fixits": [],
|
|
"line": 1030,
|
|
"message": "could not find an '{}' type",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/SharedState.cpp",
|
|
"fixits": [],
|
|
"line": 1045,
|
|
"message": "'{}' doesn't resolve to a type",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/SharedState.cpp",
|
|
"fixits": [],
|
|
"line": 1046,
|
|
"message": "'{}' declared here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/SharedState.cpp",
|
|
"fixits": [],
|
|
"line": 1111,
|
|
"message": "could not find a 'DevicePassable' type{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/SharedState.cpp",
|
|
"fixits": [],
|
|
"line": 1149,
|
|
"message": "internal error: could not find builtin function '{}'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/SharedState.cpp",
|
|
"fixits": [],
|
|
"line": 1155,
|
|
"message": "internal error: builtin '{}' does not refer to a function",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/SharedState.cpp",
|
|
"fixits": [],
|
|
"line": 1269,
|
|
"message": "unable to open module file ''{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/SharedState.cpp",
|
|
"fixits": [],
|
|
"line": 2280,
|
|
"message": "'@always_inline(\"builtin\")' ",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/SharedState.cpp",
|
|
"fixits": [],
|
|
"line": 2303,
|
|
"message": "could not resolve operand value",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/SharedState.cpp",
|
|
"fixits": [],
|
|
"line": 2680,
|
|
"message": "does not support recursion",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/SharedState.cpp",
|
|
"fixits": [],
|
|
"line": 2765,
|
|
"message": "can only handle single-result if",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/SharedState.cpp",
|
|
"fixits": [],
|
|
"line": 2859,
|
|
"message": "does not support MLIR operation {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/SharedState.cpp",
|
|
"fixits": [],
|
|
"line": 2880,
|
|
"message": "only supports direct calls",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/SharedState.cpp",
|
|
"fixits": [],
|
|
"line": 2892,
|
|
"message": "only supports calls to other '@always_inline(\"builtin\")' functions",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/SharedState.cpp",
|
|
"fixits": [],
|
|
"line": 2917,
|
|
"message": "does not support this argument convention",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/SharedState.cpp",
|
|
"fixits": [],
|
|
"line": 2922,
|
|
"message": "argument type mismatch",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 159,
|
|
"message": "address space must be specified once; remove duplicate address space specifications{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 213,
|
|
"message": "cannot infer origin for a function result{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 224,
|
|
"message": "result reference origin has unexpected type {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [
|
|
{
|
|
"kind": "replaceToken",
|
|
"text": "imm"
|
|
}
|
|
],
|
|
"line": 275,
|
|
"message": "'read' was removed; use 'imm'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [
|
|
{
|
|
"kind": "replaceToken",
|
|
"text": "var"
|
|
}
|
|
],
|
|
"line": 280,
|
|
"message": "function types do not support 'deinit'; replace with 'var'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitTokenError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 288,
|
|
"message": "argument already has a convention specified{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitTokenError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 304,
|
|
"message": "'//' is reserved for parameter lists; it marks the end of 'infer-only' parameter listings{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 324,
|
|
"message": "'out' convention must not be variadic{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 356,
|
|
"message": "variadic unpacking with '*' requires a variadic argument{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 360,
|
|
"message": "'{}' is not a variadic argument",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 368,
|
|
"message": "parameters must not be variadic packs{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 389,
|
|
"message": "'where' clauses must be used with parameters and cannot be used with arguments{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 396,
|
|
"message": "'where' clauses inside parameter lists are no longer supported{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 400,
|
|
"message": "use a trailing 'where' clause after the result type of a 'thin' function type instead",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 404,
|
|
"message": "use a trailing 'where' clause after the signature instead",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 424,
|
|
"message": "{} arguments must not have defaults{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 432,
|
|
"message": "variadic arguments must not have defaults{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 513,
|
|
"message": "cannot have two '//' markers in the same {} list",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 518,
|
|
"message": "cannot specify '//' marker after '/' marker in {} list",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 523,
|
|
"message": "cannot specify '//' marker after '*' marker in {} list",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 528,
|
|
"message": "'//' marker cannot be used at the start of the {} list",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 544,
|
|
"message": "cannot have two '/' markers in the same {} list",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 549,
|
|
"message": "cannot specify '/' marker after '*' marker in {} list",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 554,
|
|
"message": "'/' marker cannot be used at the start of the {} list",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 569,
|
|
"message": "cannot have two '*' markers in the same {} list",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 575,
|
|
"message": "'*' marker is not allowed at end of {} list",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 598,
|
|
"message": "'**' marker must be at end of {} list",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 616,
|
|
"message": "unnamed {} cannot follow named {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 620,
|
|
"message": "unnamed {} cannot follow '/' or '*'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 638,
|
|
"message": "variadic keyword parameters not supported yet{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 643,
|
|
"message": "non-owned variadic keyword arguments are not supported yet{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [
|
|
{
|
|
"kind": "insertBeforeToken",
|
|
"text": "var "
|
|
}
|
|
],
|
|
"line": 651,
|
|
"message": "variadic keyword arguments only support the 'var' convention; add 'var' before '**'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 662,
|
|
"message": "parameters cannot be 'out'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 664,
|
|
"message": "function may not have multiple 'out' arguments{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 691,
|
|
"message": "unnamed {} must be positional-only",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 711,
|
|
"message": "required {} {} follows optional {} {}; change the ordering",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 926,
|
|
"message": "INTERNAL ERROR: inferred parameter of type {} depends on unresolved parameter {}; please file a compiler bug",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1075,
|
|
"message": "malformed ParameterList{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1141,
|
|
"message": "parameters must always have a type{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1179,
|
|
"message": "parameters must always be passed by-value{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1214,
|
|
"message": "failed to emit constraint expression{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1262,
|
|
"message": "invalid bindings in signature: lacking evidence to prove correctness",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1269,
|
|
"message": "add a trailing 'where' clause that requires {}",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1334,
|
|
"message": "a 'where' clause takes a condition and an optional message: 'where (condition, \"message\")'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1345,
|
|
"message": "the message in a 'where' clause must be a string literal{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1430,
|
|
"message": "duplicate capture of '{}'; remove the duplicate entry",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1449,
|
|
"message": "'^' requires 'var' convention; write 'var x^' to move a capture{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1460,
|
|
"message": "capture lists expect references to variables{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1468,
|
|
"message": "default capture convention was already specified; remove the duplicate{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1471,
|
|
"message": "a capture convention (like 'mut' or 'var') before the capture list sets the default for all captured variables",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1481,
|
|
"message": "expected a capture convention (like 'mut' or 'var'){}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1540,
|
|
"message": "function effect '{}' was already specified; remove the duplicate",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1551,
|
|
"message": "missing ':' at end of function signature{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1557,
|
|
"message": "unknown function effect '{}', expected 'raises', 'capturing', or 'thin'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1565,
|
|
"message": "'abi(\"C\")' function may not be marked 'raises'; remove 'raises' or use 'abi(\"Mojo\")'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1594,
|
|
"message": "the 'escaping' function effect is no longer supported{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1598,
|
|
"message": "function effect 'thin' must only be used on function types{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1601,
|
|
"message": "function effect 'thin' was already specified; remove the duplicate{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1611,
|
|
"message": "the 'register_passable' function effect is no longer supported; use trait constraints like 'RegisterPassable & def(...) -> ...' instead",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1622,
|
|
"message": "expected calling convention string after 'abi('{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1632,
|
|
"message": "unsupported calling convention {}, expected \"C\" or \"Mojo\"",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1643,
|
|
"message": "'abi()' effect was already specified; remove the duplicate{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1697,
|
|
"message": "'ref' result requires an origin specifier{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1709,
|
|
"message": "functions must not declare both an 'out' argument and a return type",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1780,
|
|
"message": "pack argument type list must reference a variadic list{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1800,
|
|
"message": "malformed VariadicPack{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1870,
|
|
"message": "malformed VariadicList{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1973,
|
|
"message": "'self' argument must not be variadic; remove '*' before 'self'",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1981,
|
|
"message": "argument type must be specified{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 1998,
|
|
"message": "parametric functions must not be used as arguments; pass as a parameter instead{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2001,
|
|
"message": "alternatively, bind its type parameters to create a concrete function",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2013,
|
|
"message": "'deinit' convention is only valid on struct method arguments{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2019,
|
|
"message": "'deinit' must only be applied to arguments of Self type{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2023,
|
|
"message": "'deinit' arguments must not be variadic{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2033,
|
|
"message": "'deinit' argument '{}' does not define a move constructor; declare it as '{}'",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2076,
|
|
"message": "TODO: variadic isn't supported with 'ref' convention yet{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2108,
|
|
"message": "TODO: read-only non-trivial register-passable arguments are not yet supported in async functions{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2180,
|
|
"message": "internal compiler error: StringDict type has unexpected parameter signature; please file a bug",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2272,
|
|
"message": "result type cannot be parametric",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2314,
|
|
"message": "TODO: ref results aren't supported in async functions yet",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2566,
|
|
"message": "'{}' must be a method",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2575,
|
|
"message": "__init__ method must return Self type with 'out' argument{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2584,
|
|
"message": "TODO: async constructors are not yet supported",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2594,
|
|
"message": "'RegisterPassable' types must not declare explicit move constructors; values of these types have no identity, and the compiler can freely move them between registers",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2604,
|
|
"message": "trivial types must not declare explicit copy constructors; they are trivially copyable",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2626,
|
|
"message": "'{}' must be a method, not a global function",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2638,
|
|
"message": "trivial types must not declare '{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2640,
|
|
"message": "trivial types have no identity; the compiler destroys them automatically with no observable effect",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [
|
|
{
|
|
"kind": "replaceToken",
|
|
"text": "__deinit__"
|
|
}
|
|
],
|
|
"line": 2691,
|
|
"message": "'__del__' is deprecated; use '__deinit__'",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2744,
|
|
"message": "self argument must be present in instance method{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2758,
|
|
"message": "{} requires {} operand{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2761,
|
|
"message": "{} requires at least {} operand{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2764,
|
|
"message": "{} requires at most {} operand{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2772,
|
|
"message": "{} must be a method",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2775,
|
|
"message": "special method must not be a static method; remove the static method decorator{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2785,
|
|
"message": "{} result type must be elided (or None)",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2800,
|
|
"message": "{} must not declare 'raises'; remove the 'raises' keyword",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2821,
|
|
"message": "'__new__' is not supported on structs; use '__init__' instead{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Signatures.cpp",
|
|
"fixits": [],
|
|
"line": 2825,
|
|
"message": "{} result type must be __mlir_type.i1",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/StabilityMarkers.cpp",
|
|
"fixits": [],
|
|
"line": 131,
|
|
"message": "use of unstable API '{}'",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/StabilityMarkers.cpp",
|
|
"fixits": [],
|
|
"line": 135,
|
|
"message": "'{}' declared here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/StabilityMarkers.cpp",
|
|
"fixits": [],
|
|
"line": 298,
|
|
"message": "stable struct '{}' implements stable trait {} '{}' with unstable implementation",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/StabilityMarkers.cpp",
|
|
"fixits": [],
|
|
"line": 302,
|
|
"message": "trait {} '{}' in '{}' is marked @stable",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/StabilityMarkers.cpp",
|
|
"fixits": [],
|
|
"line": 335,
|
|
"message": "stable function '{}' returns unstable type '{}'",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/StabilityMarkers.cpp",
|
|
"fixits": [],
|
|
"line": 338,
|
|
"message": "type '{}' is not marked @stable",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/StabilityMarkers.cpp",
|
|
"fixits": [],
|
|
"line": 362,
|
|
"message": "stable trait '{}' cannot inherit from unstable trait '{}'",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/StabilityMarkers.cpp",
|
|
"fixits": [],
|
|
"line": 366,
|
|
"message": "trait '{}' is not marked @stable",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/StabilityMarkers.cpp",
|
|
"fixits": [],
|
|
"line": 386,
|
|
"message": "@stable member cannot be declared in an unstable struct{}",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/StabilityMarkers.cpp",
|
|
"fixits": [],
|
|
"line": 392,
|
|
"message": "@stable member cannot be declared in an unstable trait{}",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/StabilityMarkers.cpp",
|
|
"fixits": [],
|
|
"line": 415,
|
|
"message": "use of unstable function '{}'",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/StructEmitter.cpp",
|
|
"fixits": [],
|
|
"line": 638,
|
|
"message": "cannot synthesize fieldwise init because field '{}' has non-copyable and non-movable type {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/StructEmitter.cpp",
|
|
"fixits": [],
|
|
"line": 743,
|
|
"message": "field '{}' has non-'Deinitable' type {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/StructEmitter.cpp",
|
|
"fixits": [],
|
|
"line": 899,
|
|
"message": "cannot synthesize move constructor because field '{}' has non-movable and non-implicitly-copyable type {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/StructEmitter.cpp",
|
|
"fixits": [],
|
|
"line": 920,
|
|
"message": "cannot synthesize {}copy constructor because field '{}' has non-{}copyable type {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Traits.cpp",
|
|
"fixits": [],
|
|
"line": 272,
|
|
"message": "trait method requirement {} has conflicting default implementations in {} and {}; you must implement it manually",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/Traits.cpp",
|
|
"fixits": [],
|
|
"line": 278,
|
|
"message": "original default implementation from trait {} here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/Traits.cpp",
|
|
"fixits": [],
|
|
"line": 282,
|
|
"message": "conflicting implementation from trait {} here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Traits.cpp",
|
|
"fixits": [],
|
|
"line": 334,
|
|
"message": "name conflict between parameter {} in the default trait method and a parameter in the struct",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/Traits.cpp",
|
|
"fixits": [],
|
|
"line": 338,
|
|
"message": "trait method declared here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Traits.cpp",
|
|
"fixits": [],
|
|
"line": 486,
|
|
"message": "a struct must be register passable in order to inherit from a register passable trait{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Traits.cpp",
|
|
"fixits": [],
|
|
"line": 540,
|
|
"message": "{} does not implement all requirements for {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/Traits.cpp",
|
|
"fixits": [],
|
|
"line": 549,
|
|
"message": "required function '' is not implemented",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/Traits.cpp",
|
|
"fixits": [],
|
|
"line": 616,
|
|
"message": "{}required by trait method here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/Traits.cpp",
|
|
"fixits": [],
|
|
"line": 633,
|
|
"message": "required by trait method here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/Traits.cpp",
|
|
"fixits": [],
|
|
"line": 666,
|
|
"message": "required member '{}' is not specified",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/Traits.cpp",
|
|
"fixits": [],
|
|
"line": 696,
|
|
"message": "comptime member '' type {} does not conform to trait's required type {}",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/Traits.cpp",
|
|
"fixits": [],
|
|
"line": 871,
|
|
"message": "trait {} declared here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/Traits.cpp",
|
|
"fixits": [],
|
|
"line": 879,
|
|
"message": "inherited through '{}' here",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Traits.cpp",
|
|
"fixits": [],
|
|
"line": 1540,
|
|
"message": "malformed builtin._stubs.__MLIRType{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Traits.cpp",
|
|
"fixits": [],
|
|
"line": 1566,
|
|
"message": "trait {} has no entry named {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Traits.cpp",
|
|
"fixits": [],
|
|
"line": 1573,
|
|
"message": "trait {} has multiple entries named {}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Traits.cpp",
|
|
"fixits": [],
|
|
"line": 1627,
|
|
"message": "existentials are not supported yet!{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/Traits.cpp",
|
|
"fixits": [],
|
|
"line": 1652,
|
|
"message": "cannot bind type {} to trait {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/UncheckedCallEmission.cpp",
|
|
"fixits": [],
|
|
"line": 906,
|
|
"message": "non-implicitly trivially copyable value cannot be copied from a non-default address space{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/UncheckedCallEmission.cpp",
|
|
"fixits": [],
|
|
"line": 972,
|
|
"message": "cannot call function that may raise in a context that cannot raise{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/UncheckedCallEmission.cpp",
|
|
"fixits": [],
|
|
"line": 976,
|
|
"message": "try surrounding the call in a 'try' block",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/UncheckedCallEmission.cpp",
|
|
"fixits": [],
|
|
"line": 980,
|
|
"message": "or mark surrounding function as 'raises'",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/UncheckedCallEmission.cpp",
|
|
"fixits": [],
|
|
"line": 998,
|
|
"message": "cannot call function that may raise {} in context that supports an error type of {}{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/MojoParser/UncheckedCallEmission.cpp",
|
|
"fixits": [],
|
|
"line": 1261,
|
|
"message": "explicit call to '__deinit__' destroys a copy of the value; consider removing this call{}",
|
|
"pass": "parser",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/UncheckedCallEmission.cpp",
|
|
"fixits": [],
|
|
"line": 1718,
|
|
"message": "in synthesized method",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/UncheckedCallEmission.cpp",
|
|
"fixits": [],
|
|
"line": 1962,
|
|
"message": "cannot materialize comptime value of type {} to runtime because it is not 'ImplicitlyCopyable'{}",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/MojoParser/UncheckedCallEmission.cpp",
|
|
"fixits": [
|
|
{
|
|
"kind": "insertBeforeToken",
|
|
"text": "comptime("
|
|
},
|
|
{
|
|
"kind": "insertAfterToken",
|
|
"text": ")"
|
|
}
|
|
],
|
|
"line": 1967,
|
|
"message": "use 'comptime' to evaluate the entire call at 'comptime' and materialize its result",
|
|
"pass": "parser",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/MojoParser/UncheckedCallEmission.cpp",
|
|
"fixits": [],
|
|
"line": 2104,
|
|
"message": "TODO: indirect calls to async functions not yet supported",
|
|
"pass": "parser",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/LowerLIT/CheckLifetimes.cpp",
|
|
"fixits": [],
|
|
"line": 1231,
|
|
"message": "INTERNAL ERROR: trackable IR value of type {} should have type '!lit.ref': {}",
|
|
"pass": "lifetimes",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/LowerLIT/CheckLifetimes.cpp",
|
|
"fixits": [],
|
|
"line": 2069,
|
|
"message": "interior origin name must be a string literal, it cannot be parametric when used{}",
|
|
"pass": "lifetimes",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/LowerLIT/CheckLifetimes.cpp",
|
|
"fixits": [],
|
|
"line": 2409,
|
|
"message": "'{}' declared here",
|
|
"pass": "lifetimes",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitErrorIfNotDiagnosed",
|
|
"file": "lib/LowerLIT/CheckLifetimes.cpp",
|
|
"fixits": [],
|
|
"line": 2479,
|
|
"message": "cannot consume indirect references to values{}",
|
|
"pass": "lifetimes",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitErrorIfNotDiagnosed",
|
|
"file": "lib/LowerLIT/CheckLifetimes.cpp",
|
|
"fixits": [],
|
|
"line": 2510,
|
|
"message": "can only mark directly tracked values as destroyed{}",
|
|
"pass": "lifetimes",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitErrorIfNotDiagnosed",
|
|
"file": "lib/LowerLIT/CheckLifetimes.cpp",
|
|
"fixits": [],
|
|
"line": 2517,
|
|
"message": "can only mark full values as destroyed, not subfields{}",
|
|
"pass": "lifetimes",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/LowerLIT/CheckLifetimes.cpp",
|
|
"fixits": [],
|
|
"line": 2653,
|
|
"message": "origin was invalidated here",
|
|
"pass": "lifetimes",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/LowerLIT/CheckLifetimes.cpp",
|
|
"fixits": [],
|
|
"line": 2726,
|
|
"message": "use of invalidated interior reference '{}",
|
|
"pass": "lifetimes",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/LowerLIT/CheckLifetimes.cpp",
|
|
"fixits": [],
|
|
"line": 2731,
|
|
"message": "origin was defined here, after the reference was formed",
|
|
"pass": "lifetimes",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/LowerLIT/CheckLifetimes.cpp",
|
|
"fixits": [],
|
|
"line": 2734,
|
|
"message": "origin was defined inside this control structure",
|
|
"pass": "lifetimes",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/LowerLIT/CheckLifetimes.cpp",
|
|
"fixits": [],
|
|
"line": 2886,
|
|
"message": "incorrect invalidation of interior origin in closure '{}'",
|
|
"pass": "lifetimes",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitErrorIfNotDiagnosed",
|
|
"file": "lib/LowerLIT/CheckLifetimes.cpp",
|
|
"fixits": [],
|
|
"line": 3503,
|
|
"message": "field {}",
|
|
"pass": "lifetimes",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/LowerLIT/CheckLifetimes.cpp",
|
|
"fixits": [],
|
|
"line": 3628,
|
|
"message": "value was not consumed when an error is thrown",
|
|
"pass": "lifetimes",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "attachNote",
|
|
"file": "lib/LowerLIT/CheckLifetimes.cpp",
|
|
"fixits": [],
|
|
"line": 3638,
|
|
"message": "consider adding trait conformance to Deinitable",
|
|
"pass": "lifetimes",
|
|
"severity": "note"
|
|
},
|
|
{
|
|
"call": "emitErrorIfNotDiagnosed",
|
|
"file": "lib/LowerLIT/CheckLifetimes.cpp",
|
|
"fixits": [],
|
|
"line": 3677,
|
|
"message": "invalid __del__ that doesn't take register by-ref{}",
|
|
"pass": "lifetimes",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitErrorIfNotDiagnosed",
|
|
"file": "lib/LowerLIT/CheckLifetimes.cpp",
|
|
"fixits": [],
|
|
"line": 3692,
|
|
"message": "cannot destroy value in non-default address space{}",
|
|
"pass": "lifetimes",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitErrorIfNotDiagnosed",
|
|
"file": "lib/LowerLIT/CheckLifetimes.cpp",
|
|
"fixits": [],
|
|
"line": 4924,
|
|
"message": "value {}",
|
|
"pass": "lifetimes",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/LowerLIT/CheckLifetimes.cpp",
|
|
"fixits": [],
|
|
"line": 5036,
|
|
"message": "ref '{}' was never used, remove it?",
|
|
"pass": "lifetimes",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/LowerLIT/CheckLifetimes.cpp",
|
|
"fixits": [],
|
|
"line": 5039,
|
|
"message": "assignment to {}",
|
|
"pass": "lifetimes",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/LowerLIT/CheckLifetimes.cpp",
|
|
"fixits": [],
|
|
"line": 5513,
|
|
"message": "{}{}' was never used, remove it?",
|
|
"pass": "lifetimes",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/LowerLIT/LowerLIT.cpp",
|
|
"fixits": [],
|
|
"line": 108,
|
|
"message": "may only bind singleton compile-time parameters during lowering; parameter {} has non-singleton type {}",
|
|
"pass": "lifetimes",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/LowerLIT/LowerLIT.cpp",
|
|
"fixits": [],
|
|
"line": 489,
|
|
"message": "unsupported op in lit lowering{}",
|
|
"pass": "lifetimes",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/LowerLIT/LowerLIT.cpp",
|
|
"fixits": [],
|
|
"line": 524,
|
|
"message": "cannot find extension target struct{}",
|
|
"pass": "lifetimes",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/LowerLIT/LowerLIT.cpp",
|
|
"fixits": [],
|
|
"line": 529,
|
|
"message": "extension target is not a struct{}",
|
|
"pass": "lifetimes",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/LowerLIT/LowerLIT.cpp",
|
|
"fixits": [],
|
|
"line": 833,
|
|
"message": "origin equality may only be tested in 'where' clauses",
|
|
"pass": "lifetimes",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/LowerLIT/LowerLITTypes.cpp",
|
|
"fixits": [],
|
|
"line": 389,
|
|
"message": "struct has recursive reference to itself{}",
|
|
"pass": "lifetimes",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/LowerLIT/LowerSemanticCF.cpp",
|
|
"fixits": [],
|
|
"line": 247,
|
|
"message": "unreachable code after {}",
|
|
"pass": "lifetimes",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/LowerLIT/LowerSemanticCF.cpp",
|
|
"fixits": [],
|
|
"line": 601,
|
|
"message": "'break' is not inside a loop{}",
|
|
"pass": "lifetimes",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/LowerLIT/LowerSemanticCF.cpp",
|
|
"fixits": [],
|
|
"line": 619,
|
|
"message": "'continue' is not inside a loop{}",
|
|
"pass": "lifetimes",
|
|
"severity": "error"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/LowerLIT/LowerSemanticCF.cpp",
|
|
"fixits": [],
|
|
"line": 761,
|
|
"message": "'except' logic is unreachable, try doesn't raise an exception{}",
|
|
"pass": "lifetimes",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/LowerLIT/LowerSemanticCF.cpp",
|
|
"fixits": [],
|
|
"line": 766,
|
|
"message": "try body doesn't raise an exception{}",
|
|
"pass": "lifetimes",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/LowerLIT/LowerSemanticCF.cpp",
|
|
"fixits": [],
|
|
"line": 790,
|
|
"message": "'else' logic in 'try' is unreachable{}",
|
|
"pass": "lifetimes",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitWarning",
|
|
"file": "lib/LowerLIT/LowerSemanticCF.cpp",
|
|
"fixits": [],
|
|
"line": 930,
|
|
"message": "self recursive call will cause an infinite loop{}",
|
|
"pass": "lifetimes",
|
|
"severity": "warning"
|
|
},
|
|
{
|
|
"call": "emitError",
|
|
"file": "lib/LowerLIT/LowerSemanticCF.cpp",
|
|
"fixits": [],
|
|
"line": 980,
|
|
"message": "return expected at end of function with results{}",
|
|
"pass": "lifetimes",
|
|
"severity": "error"
|
|
}
|
|
],
|
|
"processor": "messages",
|
|
"provenance": {
|
|
"commit": "c6fa49f712fe15c99d0461ad2baaf2a15cbc58ce",
|
|
"license": "Apache-2.0 WITH LLVM-exception (per file headers; confirm the docs carry the same licence)",
|
|
"path": "lib/MojoParser, lib/LowerLIT",
|
|
"repo": "modular/modular",
|
|
"source": "modular",
|
|
"zipSha256": "5220972c0e4d2a447170592f329361b3e9923f3a30162135d22717913a09b2d6"
|
|
}
|
|
}
|