GNU bug report logs - #59968
[PATCH] Add "->" to python--treesit-operators

Previous Next

Package: emacs;

Reported by: Daniel Martín <mardani29 <at> yahoo.es>

Date: Sun, 11 Dec 2022 16:38:02 UTC

Severity: wishlist

Tags: patch

Done: Yuan Fu <casouri <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Daniel Martín <mardani29 <at> yahoo.es>
Subject: bug#59968: closed (Re: bug#59968: [PATCH] Add "->" to
 python--treesit-operators)
Date: Wed, 14 Dec 2022 01:54:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#59968: [PATCH] Add "->" to python--treesit-operators

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 59968 <at> debbugs.gnu.org.

-- 
59968: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59968
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Yuan Fu <casouri <at> gmail.com>
To: Daniel Martín <mardani29 <at> yahoo.es>
Cc: 59968-done <at> debbugs.gnu.org
Subject: Re: bug#59968: [PATCH] Add "->" to python--treesit-operators
Date: Tue, 13 Dec 2022 17:53:50 -0800
Daniel Martín <mardani29 <at> yahoo.es> writes:

> Tags: patch
>
>
> Python has a "->" operator to specify the return type of functions.
> For example:
>
> def add(a: int, b: int) -> int:
>     return a + b
>
> The following patch adds support for it in python-ts-mode.

Applied, thanks!

Yuan

[Message part 3 (message/rfc822, inline)]
From: Daniel Martín <mardani29 <at> yahoo.es>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Add "->" to python--treesit-operators
Date: Sun, 11 Dec 2022 17:37:20 +0100
[Message part 4 (text/plain, inline)]
Tags: patch


Python has a "->" operator to specify the return type of functions.
For example:

def add(a: int, b: int) -> int:
    return a + b

The following patch adds support for it in python-ts-mode.

[0001-Add-to-python-treesit-operators.patch (text/patch, attachment)]

This bug report was last modified 2 years and 241 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.