Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • G go
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • go
  • Repository

Switch branch/tag
  • go
  • src
  • pkg
  • text
  • template
  • set.go
Find file BlameHistoryPermalink
  • Rob Pike's avatar
    text/template: make redefinition of a template in a set more consistent. · 3e94e757
    Rob Pike authored Nov 08, 2011
    Also make it agree with the documentation. You get an error, unless you're
    calling Add explicitly, in which case it panics since that's almost certainly
    a bug. The discrepancy was caused by a panic that wasn't turned into
    an error along one path; deleted the offending function for clarity.
    
    R=r, rsc
    CC=golang-dev
    https://golang.org/cl/5354045
    3e94e757

Replace set.go

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7