<< 22-05-2026 >>

00:25:37*joast joined #nim
00:27:17*joast quit (Quit: Leaving.)
01:16:37*joast joined #nim
02:44:56*rockcavera quit (Remote host closed the connection)
06:00:59*Skippy8 joined #nim
06:11:32*amadaluzia quit (Read error: Connection reset by peer)
06:12:35Amun-Racrochubourbier: yes, I just use terminology used above
06:12:41Amun-Raused*
06:15:37*amadaluzia joined #nim
09:07:40*mal`` quit (Read error: Connection reset by peer)
09:10:35*mal`` joined #nim
09:29:49*SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev)
09:42:22*SchweinDeBurg joined #nim
10:08:49*beholders_eye joined #nim
11:25:24*beholders_eye quit (Ping timeout: 265 seconds)
11:31:38*karolyi quit (*.net *.split)
11:31:38*pmp-p quit (*.net *.split)
11:31:38*casaca quit (*.net *.split)
11:31:38*whereiseveryone quit (*.net *.split)
11:31:38*adigitoleo quit (*.net *.split)
11:31:39*ChanServ quit (*.net *.split)
11:34:06*Skippy8 quit (Ping timeout: 263 seconds)
11:34:41*adigitoleo joined #nim
11:35:09*karolyi joined #nim
11:35:09*pmp-p joined #nim
11:35:09*casaca joined #nim
11:35:09*whereiseveryone joined #nim
11:50:36*beholders_eye joined #nim
11:52:01*Skippy8 joined #nim
11:53:31FromDiscord<crochubourbier> how do I temporarily disable an experimental flag ? for example if I want to import a module that won't compile with the flag
11:58:09FromDiscord<crochubourbier> I'm having a headache trying to use features like strictCaseObjects or strictNotNil to improve the type safety of my code, but many std library modules weren't written with those flags in mind and don't compile, the only solution I found is enabling experimental flags with the `experimental` pragma on each file but it is annoyingly verbose and error prone because you can forget to put the flags on top of your file, so I hate it
11:58:18FromDiscord<crochubourbier> (edit) "I'm having a headache trying to use ... features" added "experimental"
11:58:38FromDiscord<crochubourbier> (edit) "I'm having a headache trying to use experimental features like strictCaseObjects or strictNotNil to improve the type safety of my code, but many std library modules weren't written with those flags in mind and don't compile, the only solution I found is enabling experimental flags with the `experimental` pragma on each file ... but" added "instead of globally via CLI or config file"
12:00:51Amun-RaI don't think you can disable experimental features
12:01:26Amun-Raone solution would be {.push experimental: "foo".} in each file
12:01:45Amun-Ra(I think)
12:02:17FromDiscord<crochubourbier> In reply to @Amun-Ra "one solution would be": that's precisely what im trying to avoid 🙁
12:03:06Amun-Rayou can have all the pushes in a single file and include it (not import it) in each file; it sucks but it's a single line
12:03:40FromDiscord<crochubourbier> In reply to @Amun-Ra "you can have all": Yeah, I also know you can do that but it's error prone, you will forget to add it at some point
12:04:05FromDiscord<crochubourbier> (edit) "In reply to @Amun-Ra "you can have all": Yeah, I also know you can do that but it's ... error" added "still"
12:04:37Amun-RaI already have {.push raises: [].} in each file
12:05:13FromDiscord<crochubourbier> why couldnt the std library compilation be isolated from your linter config flags ?
12:13:13*xet7 quit (Remote host closed the connection)
12:16:31*xet7 joined #nim
12:25:04FromDiscord<karolyi> test
12:28:06*Artea quit (Ping timeout: 246 seconds)
12:58:47*Artea joined #nim