!DcMiGSARTbXTMPuFGd:matrix.org

scalameta/scalafmt

421 Members
Discord bridge for scalameta/scalafmt3 Servers

Load older messages


SenderMessageTime
3 Mar 2024
@_discord_734849617820254331:t2bot.iovelvetbaldmime It's obviously a rule of thumb that I use manually, no doubt there are corner cases like the one you presented where there's ambiguity 06:48:12
@_discord_673627799717937152:t2bot.iokitbellew feel free to start a discussion thread, to see if a general alignment can be reached. so far, you and the author of the initial question are not in agreement 06:50:02
@_discord_403609872123428864:t2bot.ioil_totore Usually, the method signature looks like:
def foo(/*parameter list (not mandatory)*/)(block: => Bar)
07:01:58
@_discord_403609872123428864:t2bot.ioil_totore So
foo(bar)(baz => qux).xyz


Is not changed
07:02:24
@_discord_403609872123428864:t2bot.ioil_totore And yes usually there are multiple statements 07:04:17
@_discord_403609872123428864:t2bot.ioil_totore Looking at the AST: https://astexplorer.net/#/gist/ec56167ffafb20cbd8d68f24a37043a9/677e43f3adb93db8513dbe4e2c868dd4f78df4b3

It seems that foo(5) is different from foo {5} so I guess there is no ambiguity problem 🤷🏻‍♂️
07:09:11
@_discord_897851502310334524:t2bot.iorealschlawg joined the room.17:37:04
@_discord_691107588250665000:t2bot.iobillfrasure joined the room.17:44:23
4 Mar 2024
@_discord_873601734520471562:t2bot.iogspitwq joined the room.13:56:17
5 Mar 2024
@_discord_254357069769998338:t2bot.iokubukoz changed their profile picture.13:32:55
@_discord_77574388035100672:t2bot.iozetashift changed their profile picture.16:17:36
6 Mar 2024
@_discord_195758349856407552:t2bot.iodavidf joined the room.14:58:45
7 Mar 2024
@_discord_673627799717937152:t2bot.iokitbellew if you'd like to chime in, here's the proposed solution: https://github.com/scalameta/scalafmt/pull/3815 (cc il_totore velvetbaldmime .korven. ) 18:00:29
@_discord_426148274521636865:t2bot.ioyummy_inhalant joined the room.19:17:24
10 Mar 2024
@_discord_632150227658473473:t2bot.ioolafurpg changed their profile picture.12:14:00
13 Mar 2024
@_discord_196988604478652416:t2bot.io.philluminati joined the room.09:12:06
14 Mar 2024
@_discord_883259506715402260:t2bot.iod.delphine joined the room.18:52:07
@_discord_593528659583828117:t2bot.iom.hughes changed their profile picture.23:35:17
17 Mar 2024
@_discord_1049009512905973911:t2bot.ioukrustacean joined the room.13:08:26
@_discord_632628921942147109:t2bot.io.pityka joined the room.18:19:02
18 Mar 2024
@_discord_847173898528227398:t2bot.iodavid_f_goodenough joined the room.22:24:56
19 Mar 2024
@_discord_585809252883496990:t2bot.iof40a3204 joined the room.09:49:47
@_discord_742412995379855378:t2bot.iokostask3734 joined the room.19:19:36
20 Mar 2024
@_discord_192823728944578560:t2bot.ioshrimphands joined the room.17:10:23
@_discord_438509186624520213:t2bot.iorpiaggio joined the room.19:40:46
22 Mar 2024
@_discord_857280409585975296:t2bot.iomkharytonau joined the room.12:28:22
23 Mar 2024
@_discord_806168127985156116:t2bot.ioarturopala changed their display name from Artur Opala to arturopala.17:17:29
26 Mar 2024
@_discord_180387064884232192:t2bot.ioz1kkurat changed their profile picture.08:04:43
@_discord_983704385630658600:t2bot.iopowerful_monkey_59758_71986 joined the room.15:25:19
@_discord_253271083740823562:t2bot.iopixelateddog joined the room.15:32:51

Show newer messages


Back to Room ListRoom Version: 9