Skip to content
Snippets Groups Projects
  1. Aug 14, 2024
  2. Aug 13, 2024
  3. Jul 08, 2024
    • Dominik Honnef's avatar
      go/ir: actually build blank functions · 0636bcaa
      Dominik Honnef authored
      In d074ce03 we stopped dropping objects
      with blank names on the floor. However, we forgot to actually build
      functions with blank names, therefore exposing malformed Function
      objects to users of go/ir.
      
      Closes: gh-1572
      (cherry picked from commit d0a0c6521c9caf7ab90e19205990ebba45cee788)
      0636bcaa
  4. Jul 01, 2024
  5. Jun 30, 2024
  6. Jun 29, 2024
  7. Jun 28, 2024
  8. Jun 24, 2024
  9. Jun 21, 2024
  10. Jun 16, 2024
    • Dominik Honnef's avatar
      SA1032: don't check calls to errors.As · 146a4562
      Dominik Honnef authored
      errors.As(err, io.EOF) is even more wrong than errors.As(io.EOF, err),
      so we shouldn't suggest replacing the latter with the former.
      errors.As(io.EOF, &err) might make some sense, even.
      
      go vet already catches most misuses of errors.As, whenever the second
      argument isn't a pointer.
      146a4562
Loading