From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jimmy Yuen Ho Wong Newsgroups: gmane.emacs.bugs Subject: bug#63880: 29.0.91; typescript-ts-mode fails to highlight infer keyword Date: Sun, 04 Jun 2023 00:57:19 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36103"; mail-complaints-to="usenet@ciao.gmane.io" To: 63880@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 04 01:58:29 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q5b8f-0009BS-Sw for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Jun 2023 01:58:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5b8G-0003Z5-Ov; Sat, 03 Jun 2023 19:58:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5b8E-0003Yp-PC for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2023 19:58:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5b8E-0007Gi-Gf for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2023 19:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5b8E-00024j-AY for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2023 19:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jimmy Yuen Ho Wong Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Jun 2023 23:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63880 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16858366487931 (code B ref -1); Sat, 03 Jun 2023 23:58:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Jun 2023 23:57:28 +0000 Original-Received: from localhost ([127.0.0.1]:44498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5b7g-00023r-Gt for submit@debbugs.gnu.org; Sat, 03 Jun 2023 19:57:28 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:49176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5b7e-00023f-3Y for submit@debbugs.gnu.org; Sat, 03 Jun 2023 19:57:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5b7d-0003Lx-SS for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2023 19:57:25 -0400 Original-Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5b7c-0007Bj-6u for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2023 19:57:25 -0400 Original-Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-3f7353993cbso3639515e9.0 for ; Sat, 03 Jun 2023 16:57:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685836642; x=1688428642; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=krP6KVIiu+oTFKuM2gkIj4Rq5nrP29w3JBwzbgXDtOY=; b=STqcRRzz93Z4uDMX5RZppOdYho5lGz3C+IN0sPlfokvvnDwhrFYWYzu16JrTZg4z+h trM+lyfgqH9qwXPdO9KgYW2IrlRCMN1NWnmnRb6uagfquIPafawh5OfI3IB60hiLW1cF WRcHPzpT2/6d1aKFia4cZie0IRnj21bySdDE0afrWrTuJaMiC8oeJwec7OR8tgJNAOp6 f1oI/z3gPRZiDOK8BvIsmTeDuF7/BYU6wZY15z1DA82PvJ52d/U6412JzfCh6ECFxR64 Jf1i2uAbsYsMEDkgVBUKu/Vpqd3X3JsBu2xdh/wUvk/+twxHOvTybdEopaRr0iF9mF9B Vavw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685836642; x=1688428642; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=krP6KVIiu+oTFKuM2gkIj4Rq5nrP29w3JBwzbgXDtOY=; b=R9he53w5pv9rdXZ6bc0EY4wvM+vnVDAC5o6RCXQusrbB84cdV+bEDtwbJmNQVwThcK 0EER3G2E1SD4N23DJjJplzQwRxjHkLKjZYue72w+Fk0v8XsDvaZeQJdKRzn8/L40wG6w YEdYCoLPae72ZzH2/VClU4ugT/NzO9KrF05srPtSmeNbpszB75QxCz/zUCOeGqR5PLH+ 1JTzU6aJRuE2zv0El8tPuNeVJT9sd9ptyvwuzadBBoqHDhHGrTWFqeFVjUDB4zYG5oTt 6gH5RQfLdHUFnj22s2tyBsAlMUwK81CF08Uv33m/pu+iKlmXm/K26MyTb/hm7Tqqukjx /AOA== X-Gm-Message-State: AC+VfDwJfVnjdXmfwn71oHT/F6V9uPSyZUifjAQSSg5nRD4n1peWwf32 fQyEQraEPv+Mqmpvzf+f56dxYC4cRS4= X-Google-Smtp-Source: ACHHUZ5bAkz8M2UX/0+7/WEp0L4fB2GIP8GIjKhG2YZ9HDC7jRTGFl0Bt1OKnXSaQNojqyGW/zaFOA== X-Received: by 2002:a05:600c:220f:b0:3f7:395d:6585 with SMTP id z15-20020a05600c220f00b003f7395d6585mr193604wml.15.1685836641884; Sat, 03 Jun 2023 16:57:21 -0700 (PDT) Original-Received: from MobileCat.localdomain ([2a01:4b00:89a0:2400:4515:dead:dad2:1c1a]) by smtp.gmail.com with ESMTPSA id bg22-20020a05600c3c9600b003f4283f5c1bsm20478241wmb.2.2023.06.03.16.57.20 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 03 Jun 2023 16:57:21 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=wyuenho@gmail.com; helo=mail-wm1-x336.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:262885 Archived-At: Reproduction: 1. echo 'type Flatten = Type extends Array ? Item : Type;' > test.ts 2. C-x C-f test.ts 3. M-x typescript-ts-mode 4. Observe the infer keyword is not highlighted Expectation: Typescript has an [`infer`](https://www.typescriptlang.org/docs/handbook/2/conditional-types.html#inferring-within-conditional-types) keyword, it should be highlighted.