aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/types2/assignments.go
AgeCommit message (Expand)Author
2024-02-23go/types, types2: make error handling more similarRobert Griesemer
2024-02-22go/types: : generate assignments.go from types2 sourceRobert Griesemer
2024-02-20cmd/compile/internal/types2: use ExprString instead of syntax.StringRobert Griesemer
2024-01-18go/types, types2: fix range clause checks for constant range expressionsRobert Griesemer
2023-12-12go/types, types2: better error message for cases of reverse type inferenceRobert Griesemer
2023-09-15go/types, types2: introduce `isValid` predicate and use throughoutRobert Griesemer
2023-08-24cmd/compile/internal/syntax: add Unparen and UnpackListExpr helpersMatthew Dempsky
2023-05-05go/types, types2: better error message for bad assignmentRobert Griesemer
2023-04-19go/types, types2: be deliberate with Checker.use in Checker.assignVarRobert Griesemer
2023-04-19go/types, types2: don't panic for invalid assignments of comma-ok expressionsRobert Griesemer
2023-04-18go/types, types2: consistently set x.mode in Checker.assignmentRobert Griesemer
2023-04-13Revert "go/types, types2: remove unnecessary tests for x.typ == Typ[Invalid]"Robert Findley
2023-03-29go/types, types2: reverse inference of function type argumentsRobert Griesemer
2023-03-28go/types, types2: don't report assignment mismatch errors if there are other ...Robert Griesemer
2023-03-28go/types, types2: simplify Checker.exprListRobert Griesemer
2023-03-28go/types, types2: remove return values from Checker.assignVar/initVarRobert Griesemer
2023-03-28go/types, types2: refactor initVarsRobert Griesemer
2023-03-28go/types, types2: refactor assignVarsRobert Griesemer
2023-03-28go/types, types2: remove unnecessary tests for x.typ == Typ[Invalid]Robert Griesemer
2023-03-28go/types, types2: more systematic use of Checker.use und useLHSRobert Griesemer
2023-03-24go/types, types2: adjust Checker.recordCommaOkTypes signatureRobert Griesemer
2023-03-21go.types, types2: factor out checking of LHS in variable assignmentRobert Griesemer
2023-03-06go/types, types2: use "undefined type" rather than "<T>" in have/want error m...Robert Griesemer
2023-01-24all: fix some commentscui fliter
2023-01-20go/types, types2: use go.dev/issue/nnnnn when referring to an issue (cleanup)Robert Griesemer
2022-10-10go/types, types2: use zero error code to indicate unset error codeRobert Griesemer
2022-10-10cmd/compile/internal/types2: use internal/types/errors instead of local error...Robert Griesemer
2022-09-28cmd/compile: use "cannot use %s as %s value in %s: %s" error messageRobert Griesemer
2022-09-28go/types, types2: use "assignment mismatch: x variables but y values" error m...Robert Griesemer
2022-09-27go/types, types2: use "and not used" instead of "but not used" in error messagesRobert Griesemer
2022-09-26go/types, types2: provide error codes where they were missingRobert Griesemer
2022-09-13types2: provide error codes to error reportingRobert Griesemer
2022-04-01all: fix TODO comment hanging indentsRuss Cox
2022-03-21go/types, types2: factor out isInterface(x) && !isTypeParam(x) (cleanup)Robert Griesemer
2022-02-24go/types, types2: method recv type parameter count must match base type param...Robert Griesemer
2021-12-20all: fix spelling errors found by misspellDan Kortschak
2021-12-15all: fix typo in commentichxxx
2021-11-24cmd/compile/internal/types2: report types for mismatched call and return stat...Robert Griesemer
2021-11-22cmd/compile/internal/types2: print "nil" rather than "untyped nil"Robert Griesemer
2021-11-13cmd/compile/internal/types2: underlying type of a type parameter is its const...Robert Griesemer
2021-11-12cmd/compile: match Go 1.17 compiler error messages more closelyDan Scales
2021-11-09cmd/compile/internal/types2: roll-forward removal of asX convertersRobert Findley
2021-11-08cmd/compile: Revert "cmd/compile/internal/types2: remove most asX converters ...Cuong Manh Le
2021-11-08cmd/compile/internal/types2: remove most asX converters (cleanup)Robert Griesemer
2021-10-27cmd/compile/internal/types2: clean up asT converters (step 2 of 2)Robert Griesemer
2021-10-27cmd/compile/internal/types2: clean up asT converters (step 1 of 2)Robert Griesemer
2021-09-23cmd/compile/internal/types2: avoid "declared but not used" errors for invalid...Robert Griesemer
2021-09-23cmd/compile: restore original assignment error messagesRobert Griesemer
2021-09-08cmd/compile/internal/types2: spell out 'Type' in type parameter APIsRobert Griesemer
2021-07-29[dev.typeparams] cmd/compile: set type parameter indices when they are boundRobert Griesemer