<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>utgwkk</author_name>
  <author_url>https://blog.hatena.ne.jp/utgwkk/</author_url>
  <blog_title>私が歌川です</blog_title>
  <blog_url>https://blog.utgw.net/</blog_url>
  <categories>
    <anon>技術</anon>
    <anon>Go</anon>
  </categories>
  <description>Go 1.26.0のgo fix -inlineによるインライン化、ジェネリクスな関数では型引数を明示しないと動かない場合がありそう。上はインライン化されるけど下はされない```//go:fix inlinefunc Ptr[T any](x T) *T { return new(x)}func f() { _ = Ptr[int](1) _ = Ptr(1)}```— うたがわきき (@utgwkk) 2026年2月23日 冒頭に貼ったツイートが全てです。func Ptr[T any](x T) *T のようなジェネリックな関数を、Go 1.26.0の go fix コマンドでインライン化す…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.utgw.net%2Fentry%2F2026%2F02%2F24%2F153341&quot; title=&quot;Go 1.26.0時点のgo fix -inlineコマンドはジェネリックな関数の型引数を省略した呼び出しをインライン化しない - 私が歌川です&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-02-24 15:33:41</published>
  <title>Go 1.26.0時点のgo fix -inlineコマンドはジェネリックな関数の型引数を省略した呼び出しをインライン化しない</title>
  <type>rich</type>
  <url>https://blog.utgw.net/entry/2026/02/24/153341</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
