From: Michael J. Sullivan Date: Thu, 10 Oct 2019 18:50:51 +0000 (-0700) Subject: Fix issue with type comments on lines with trailing commas (#1058) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/6fe800933d8919436cabf40466ee462f49463814?hp=6fe800933d8919436cabf40466ee462f49463814 Fix issue with type comments on lines with trailing commas (#1058) The code introduced in #1027 to detect whether a type comment appeared after a regular comment in a Line would spuriously misfire when a leaf was in the comments dict but had an empty list of comments. This can occur as an artifact of how comments on trailing commas are handled, it seems. (This was discovered trying to test black out on mypy.) ---