00:05:11 | * | kssreeram quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
00:06:49 | * | endragor joined #nim |
00:11:34 | * | endragor quit (Ping timeout: 265 seconds) |
00:23:32 | * | kssreeram joined #nim |
00:23:47 | * | kssreeram quit (Client Quit) |
00:23:56 | * | endragor joined #nim |
00:28:07 | * | endragor quit (Ping timeout: 244 seconds) |
00:43:43 | * | libman quit (Remote host closed the connection) |
00:49:05 | * | der-landgraf quit (Ping timeout: 258 seconds) |
00:51:57 | * | der-landgraf joined #nim |
00:56:53 | * | yglukhov quit (Remote host closed the connection) |
01:00:27 | * | brson quit (Ping timeout: 264 seconds) |
01:04:46 | * | der-landgraf quit (Ping timeout: 250 seconds) |
01:05:53 | * | endragor joined #nim |
01:08:36 | * | der-landgraf joined #nim |
01:10:20 | * | endragor quit (Ping timeout: 244 seconds) |
01:17:06 | * | Demon_Fox quit (Excess Flood) |
01:17:30 | * | Demon_Fox joined #nim |
01:23:09 | * | endragor joined #nim |
01:23:16 | * | kingofoz quit (Ping timeout: 252 seconds) |
01:23:44 | * | kingofoz joined #nim |
01:27:56 | * | endragor quit (Ping timeout: 265 seconds) |
01:30:37 | * | Trixar_za quit (Quit: Leaving) |
01:34:59 | * | kssreeram joined #nim |
01:48:08 | * | pafmaf joined #nim |
01:51:22 | * | nairobi joined #nim |
01:51:49 | * | nairobi quit (Read error: Connection reset by peer) |
01:52:23 | * | nairobi joined #nim |
01:54:06 | * | chemist69 joined #nim |
01:56:50 | * | nairobi quit (Ping timeout: 244 seconds) |
01:57:19 | * | chemist69_ quit (Ping timeout: 258 seconds) |
01:57:23 | * | yglukhov joined #nim |
01:58:24 | * | pafmaf quit (Ping timeout: 276 seconds) |
02:02:50 | * | yglukhov quit (Ping timeout: 250 seconds) |
02:05:21 | * | pdv joined #nim |
02:06:12 | * | kingofoz quit (Ping timeout: 276 seconds) |
02:07:55 | * | kssreeram quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
02:37:42 | * | endragor joined #nim |
02:42:05 | * | brechtm joined #nim |
02:46:21 | * | brechtm quit (Ping timeout: 250 seconds) |
02:49:59 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
02:51:59 | * | kssreeram joined #nim |
03:13:28 | * | kssreeram quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
03:32:46 | * | der-landgraf quit (Ping timeout: 258 seconds) |
03:36:24 | * | der-landgraf joined #nim |
03:42:52 | * | der-landgraf quit (Ping timeout: 240 seconds) |
03:46:19 | * | der-landgraf joined #nim |
03:55:04 | * | der-landgraf quit (Ping timeout: 250 seconds) |
03:55:22 | * | space-wizard joined #nim |
03:55:58 | * | space-wizard quit (Max SendQ exceeded) |
03:56:34 | * | space-wizard joined #nim |
03:57:10 | * | space-wizard quit (Max SendQ exceeded) |
03:57:49 | * | space-wizard joined #nim |
03:58:24 | * | space-wizard quit (Max SendQ exceeded) |
03:59:03 | * | space-wizard joined #nim |
04:00:40 | * | yglukhov joined #nim |
04:05:21 | * | yglukhov quit (Ping timeout: 258 seconds) |
04:06:53 | * | kingofoz joined #nim |
04:18:07 | * | kssreeram joined #nim |
04:32:15 | * | kingofoz quit (Ping timeout: 264 seconds) |
04:33:02 | * | kingofoz joined #nim |
04:41:48 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
04:49:07 | * | der-landgraf joined #nim |
05:02:28 | * | kingofoz quit (Ping timeout: 244 seconds) |
05:02:58 | * | kingofoz joined #nim |
05:12:41 | * | der-landgraf quit (Ping timeout: 265 seconds) |
05:28:56 | * | endragor quit (Remote host closed the connection) |
05:34:57 | * | endragor joined #nim |
05:52:31 | * | bjz_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
06:00:24 | * | bjz joined #nim |
06:01:08 | * | hendi__ joined #nim |
06:02:42 | * | yglukhov joined #nim |
06:07:03 | * | yglukhov quit (Ping timeout: 240 seconds) |
06:10:41 | * | kssreeram quit (Ping timeout: 265 seconds) |
06:12:40 | * | Demon_Fox quit (Quit: Leaving) |
06:13:35 | * | madmalik joined #nim |
06:17:41 | * | Demon_Fox joined #nim |
06:20:41 | * | kssreeram joined #nim |
06:23:35 | * | der-landgraf joined #nim |
06:35:15 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
06:47:05 | * | endragor quit (Remote host closed the connection) |
06:47:07 | * | Trustable joined #nim |
06:48:09 | * | pafmaf joined #nim |
06:48:17 | * | pafmaf quit (Read error: Connection reset by peer) |
06:48:33 | * | bjz joined #nim |
06:49:20 | * | cncl quit (Quit: WeeChat 0.4.0) |
07:00:11 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
07:13:57 | * | flyx quit (Quit: ZNC - http://znc.in) |
07:14:04 | * | Demon_Fox quit (Ping timeout: 244 seconds) |
07:14:35 | * | flyx joined #nim |
07:21:38 | * | Demon_Fox joined #nim |
07:28:45 | * | brechtm joined #nim |
07:29:43 | * | brechtm_ joined #nim |
07:33:39 | * | brechtm quit (Ping timeout: 260 seconds) |
07:39:02 | * | so_ is now known as so |
07:39:19 | * | yglukhov joined #nim |
07:42:09 | * | Arrrr joined #nim |
07:42:09 | * | Arrrr quit (Changing host) |
07:42:09 | * | Arrrr joined #nim |
07:46:30 | * | endragor joined #nim |
07:47:33 | * | endragor quit (Remote host closed the connection) |
07:48:06 | * | kingofoz quit (Ping timeout: 276 seconds) |
07:48:21 | * | kingofoz joined #nim |
07:49:20 | * | endragor joined #nim |
08:05:52 | * | irrequietus joined #nim |
08:24:05 | * | gokr joined #nim |
08:28:08 | * | bjz joined #nim |
08:34:50 | * | der-landgraf quit (Ping timeout: 258 seconds) |
08:49:37 | * | der-landgraf joined #nim |
08:53:08 | * | yglukhov quit (Read error: Connection reset by peer) |
08:55:25 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
08:55:41 | * | yglukhov joined #nim |
09:48:12 | * | Demon_Fox quit (Quit: Leaving) |
09:54:46 | * | bjz joined #nim |
09:59:08 | * | brechtm_ is now known as brechtm |
10:17:03 | * | yglukhov quit (Read error: Connection reset by peer) |
10:19:40 | * | yglukhov joined #nim |
10:30:48 | * | gokr quit (Ping timeout: 265 seconds) |
10:32:00 | * | gokr joined #nim |
10:43:00 | * | elrood joined #nim |
10:47:27 | * | gokr quit (Ping timeout: 244 seconds) |
11:02:38 | * | pdv quit (Remote host closed the connection) |
11:10:41 | * | desophos quit (Read error: Connection reset by peer) |
11:11:33 | * | irrequietus quit (Ping timeout: 276 seconds) |
11:31:41 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
11:32:00 | * | bjz joined #nim |
11:42:06 | * | brechtm_ joined #nim |
11:42:09 | * | brechtm quit (Ping timeout: 260 seconds) |
11:48:34 | * | kssreeram quit (Read error: Connection reset by peer) |
11:48:43 | * | irrequietus joined #nim |
11:48:50 | * | chrisheller quit (Remote host closed the connection) |
11:50:17 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
11:50:28 | * | gokr joined #nim |
11:51:15 | * | bjz joined #nim |
11:55:59 | * | zahary1 joined #nim |
11:55:59 | * | zahary quit (Read error: Connection reset by peer) |
11:56:53 | * | zahary1 quit (Client Quit) |
12:06:16 | xet7 | When trying to compile nimble I get error "nim-lang/nimble/vendor/nim/compiler/semfold.nim(485, 53) Error: type mismatch: got (BiggestInt, float64)". How to fix? |
12:07:18 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
12:10:30 | * | kssreeram joined #nim |
12:10:45 | * | brechtm_ quit (Remote host closed the connection) |
12:12:08 | * | brechtm joined #nim |
12:13:09 | * | Arrrr quit (Read error: Connection reset by peer) |
12:19:21 | * | michael_campbell joined #nim |
12:27:17 | * | xet7_ joined #nim |
12:38:05 | * | M-Quora quit (Remote host closed the connection) |
12:38:05 | * | Flox42 quit (Remote host closed the connection) |
12:38:05 | * | M-max quit (Remote host closed the connection) |
12:42:17 | * | Flox42 joined #nim |
12:45:26 | * | kssreeram quit (Read error: Connection reset by peer) |
12:45:35 | * | nairobi joined #nim |
13:01:38 | * | nairobi quit (Read error: Connection timed out) |
13:03:05 | * | nairobi joined #nim |
13:12:56 | * | nairobi quit (Read error: Connection reset by peer) |
13:13:00 | * | nairobi_ joined #nim |
13:23:25 | * | nsf quit (Quit: WeeChat 1.5) |
13:25:42 | * | bjz joined #nim |
13:27:58 | * | rok joined #nim |
13:47:59 | * | euantor joined #nim |
13:54:02 | * | madmalik quit (Quit: Connection closed for inactivity) |
14:03:44 | Araq | xet7_: good question, does that use 'nim devel' compiler version? |
14:04:20 | * | kssreeram joined #nim |
14:05:52 | * | brson joined #nim |
14:06:41 | * | brson_ joined #nim |
14:06:42 | * | brson_ quit (Client Quit) |
14:06:56 | * | brson_ joined #nim |
14:10:15 | * | brson quit (Ping timeout: 258 seconds) |
14:10:40 | xet7 | Araq: Yes, newest devel commit dd84dc85d067f0936746b8a80e7f249611b68da2 |
14:11:16 | * | brson_ quit (Ping timeout: 250 seconds) |
14:11:55 | Araq | compiles for me, try 'nim e install_nimble.nims' |
14:13:05 | * | brson joined #nim |
14:13:25 | * | brson quit (Client Quit) |
14:14:03 | * | brson joined #nim |
14:15:04 | xet7 | Yes compiling that way works. I did not know that command, I used one from https://github.com/nim-lang/nimble#unix |
14:15:37 | * | elrood quit (Remote host closed the connection) |
14:17:03 | Araq | I'm in the process of updating these docs :-) |
14:17:32 | Araq | the installation fights are gone, I have won :P |
14:17:32 | xet7 | Thanks :) |
14:17:41 | xet7 | Cool :) |
14:18:38 | * | brson quit (Ping timeout: 250 seconds) |
14:19:09 | Araq | now if only I can convince dom96 to add a 'nimble clone' command |
14:19:53 | * | brson joined #nim |
14:19:54 | vktec | Araq: 0_o What would that do? |
14:20:25 | Araq | it 'git clone's a nimble package into my current directory and adds it to my --path |
14:20:37 | vktec | Huh |
14:20:43 | vktec | Fair enough |
14:21:24 | * | nairobi_ quit (Remote host closed the connection) |
14:22:00 | * | nairobi joined #nim |
14:23:24 | Araq | and maybe even 'nimble fork' ... |
14:23:37 | Araq | so that I can easily hack away creating PRs |
14:24:34 | vktec | :) |
14:26:10 | * | nairobi quit (Ping timeout: 250 seconds) |
14:28:16 | arnetheduck | Araq, heapRoot of TLoc looks like it could go as well..? |
14:30:49 | * | M-max joined #nim |
14:30:50 | * | M-Quora joined #nim |
14:35:38 | Araq | meh, but at one day ... oh well |
14:36:37 | arnetheduck | any luck with 4567..? if it's trivial... ;) |
14:37:11 | arnetheduck | nlvm works with gc now btw, thanks for the explanations |
14:37:25 | Araq | :O |
14:38:12 | Araq | arnetheduck: I'm still sticking to my priorities |
14:39:13 | Araq | you can checkout semstmts.nim though, (nim)grep for nkDefer |
14:39:29 | Araq | and see why n.typ is void |
14:42:20 | arnetheduck | started looking, but it trivial is not what I'd call it.. something with nkStmtList not becoming an nkStmtListExpr as it should, I think, but... |
14:44:16 | arnetheduck | then in transf, there's a bug too where it assigns from the wrong typ, and that one is trivial, yes.. |
14:44:33 | * | pregressive joined #nim |
15:21:01 | arnetheduck | Araq, btw, it looks like unsureasgnref doesn't look at the location of the source when updating refcount, leading to unnecessary copying of strings & seqs.. any reason? |
15:21:01 | * | yglukhov quit (Read error: Connection reset by peer) |
15:21:28 | * | yglukhov joined #nim |
15:21:52 | * | endragor quit (Remote host closed the connection) |
15:21:54 | arnetheduck | ie consider the case of src being a const |
15:24:36 | * | yglukhov quit (Read error: Connection reset by peer) |
15:26:38 | * | yglukhov joined #nim |
15:36:44 | Araq | reason: it's already quite complex... |
15:37:15 | * | ftsf quit (Remote host closed the connection) |
15:42:38 | Araq | the "unnecessary" copying is mostly necessary because const seqs/strings have no GC header and so need to be turned into something that has |
15:42:56 | Araq | a constant pita in the codegen, maybe consts should simply have this GC header |
15:43:52 | * | xet7 quit (Read error: Connection reset by peer) |
15:44:31 | * | xet7 joined #nim |
15:44:34 | * | yglukhov_ joined #nim |
15:44:46 | * | yglukhov quit (Read error: Connection reset by peer) |
15:45:51 | * | der-landgraf quit (Ping timeout: 276 seconds) |
15:46:31 | * | nairobi joined #nim |
15:47:03 | * | xet7 quit (Client Quit) |
15:47:45 | * | xet7 joined #nim |
15:48:34 | * | xet7 quit (Remote host closed the connection) |
15:49:27 | * | PMunch joined #nim |
15:49:30 | * | yglukhov_ quit (Remote host closed the connection) |
15:50:27 | * | xet7 joined #nim |
15:54:58 | * | euantor quit (Quit: Leaving) |
15:56:52 | * | libman joined #nim |
16:03:06 | * | nairobi quit (Read error: Connection timed out) |
16:04:04 | * | nairobi joined #nim |
16:08:48 | arnetheduck | well, if consts have the const header, either they'll have to have a non-refcounted flag or they'll no longer sit in the readonly part of the binary |
16:08:55 | arnetheduck | *gc header |
16:10:06 | Araq | yup |
16:10:56 | arnetheduck | ok, well, at least I'm reading the code right ;) |
16:15:33 | * | endragor joined #nim |
16:20:03 | * | endragor quit (Ping timeout: 240 seconds) |
16:20:20 | * | nairobi quit (Read error: Connection timed out) |
16:20:27 | * | brson_ joined #nim |
16:21:51 | * | nairobi joined #nim |
16:23:16 | * | brson quit (Ping timeout: 258 seconds) |
16:24:20 | xet7 | when I try to run "nake android" then nimx complains "Environment variable [ SDL_HOME ] is not set. [OSError]". What should SDL_HOME be? |
16:24:33 | xet7 | I mean nake droid |
16:26:41 | * | shodan45 joined #nim |
16:28:22 | * | Sentreen quit (Quit: WeeChat 1.4) |
16:30:21 | * | elrood joined #nim |
16:30:39 | * | Arrrr joined #nim |
16:30:39 | * | Arrrr quit (Changing host) |
16:30:39 | * | Arrrr joined #nim |
16:32:14 | * | Sentreen joined #nim |
16:38:41 | * | nairobi quit (Read error: Connection timed out) |
16:39:20 | * | nairobi joined #nim |
16:45:16 | PMunch | xet7 SDL_HOME should be set in the nakefile to be the home directory of the SDL Library |
16:48:19 | * | brson_ quit (Quit: leaving) |
16:48:32 | * | brson joined #nim |
16:48:45 | * | yglukhov joined #nim |
16:49:39 | * | space-wizard joined #nim |
16:53:56 | xet7 | PMunch: Ok it seems to continue compiling, I'll wait it to finish. |
16:54:17 | PMunch | It takes a while the first time |
16:54:19 | * | zielmicha quit (Ping timeout: 258 seconds) |
16:54:40 | * | zielmicha joined #nim |
16:54:45 | PMunch | What are you going to use it for xet7? |
16:55:16 | * | nairobi quit (Read error: Connection timed out) |
16:55:33 | xet7 | I'm just compiling nimx test example to see does it work on my Galaxy Note 3 phone |
16:55:56 | xet7 | And how long it takes to compile |
16:56:09 | * | nairobi joined #nim |
16:57:43 | xet7 | I'm testing would it be simpler to code with Nim than Go |
16:59:50 | * | nairobi_ joined #nim |
17:00:46 | * | nairobi quit (Ping timeout: 265 seconds) |
17:01:04 | PMunch | Well, Nims cross compilation stuff is still pretty young |
17:01:19 | PMunch | So there aren't a whole lot of tooling and such around specifically for Ni |
17:01:20 | * | yglukhov quit (Ping timeout: 265 seconds) |
17:01:33 | * | Trustable quit (Remote host closed the connection) |
17:01:53 | PMunch | That being said it does compile to C which does have pretty decent tooling for Android development |
17:02:26 | PMunch | I'm currently writing a game library for Nim SDL which cross compiles to Android and it all works pretty well |
17:02:31 | PMunch | So it's definitely doable :) |
17:02:48 | Arrrr | Is it hard to write stuff for android? |
17:02:59 | PMunch | Not really |
17:03:06 | PMunch | But it depends a bit on what you want to do |
17:03:39 | Arrrr | Your game for example, do you have to add much specific android code? |
17:04:13 | PMunch | Well not me per se |
17:04:34 | PMunch | I used yglukhovs cross compilation stuff |
17:04:58 | PMunch | So the code I've written myself (apart from patching a thing or two in his work) has been 100% Nim |
17:05:02 | xet7 | PMunch: Link to your game library? |
17:05:39 | PMunch | github.com/PMunch/nim-sdl-template |
17:05:46 | PMunch | It's still in it's very infancy |
17:05:55 | PMunch | Haven't even bothered to change the name and description yet |
17:06:06 | PMunch | github.com/PMunch/nim-sdl-template/tree/master/src/gamelib |
17:06:17 | PMunch | This is the game library specific code |
17:07:18 | PMunch | Currently it supports animations, texture atlases, loading files (cross-platform) |
17:07:40 | dom96 | PMunch: That's awesome! |
17:07:52 | PMunch | Application is an early test which has started to clone my previous game MannBarSchwein |
17:07:55 | PMunch | Thanks dom96 :) |
17:08:50 | * | yglukhov joined #nim |
17:09:47 | PMunch | The texture atlas support is also a bit lacking. It basically supports what comes out of texture packer free version. But it ignores a lot of fields so if you do any advanced stuff it won't work properly. |
17:11:07 | xet7 | Compiling to Android seems to take long at current step "i686-linux-android-strip --strip-unneeded ./libs/x86/libmain.so" |
17:13:46 | PMunch | yglukhov, ^ |
17:16:21 | * | nairobi_ quit (Read error: Connection timed out) |
17:17:24 | * | nairobi joined #nim |
17:19:30 | * | chemist69 quit (Ping timeout: 250 seconds) |
17:20:53 | * | hcorion joined #nim |
17:23:01 | * | kssreeram quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
17:34:15 | * | yglukhov quit (Remote host closed the connection) |
17:38:09 | * | brechtm quit (Remote host closed the connection) |
17:38:13 | * | chemist69 joined #nim |
17:44:12 | * | hendi__ quit (Ping timeout: 250 seconds) |
17:51:14 | * | yglukhov joined #nim |
17:57:36 | * | nsf joined #nim |
18:00:41 | * | irrequietus quit () |
18:00:51 | * | irrequietus joined #nim |
18:05:14 | * | irrequietus quit (Client Quit) |
18:05:33 | * | irrequietus joined #nim |
18:08:53 | * | brson quit (Quit: leaving) |
18:09:10 | * | brson joined #nim |
18:09:38 | * | yglukhov quit (Remote host closed the connection) |
18:09:58 | * | brechtm joined #nim |
18:17:27 | * | kssreeram joined #nim |
18:20:13 | * | PMunch quit (Quit: leaving) |
18:28:20 | * | kssreeram quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
18:29:08 | * | kssreeram joined #nim |
18:42:03 | * | brechtm quit (Remote host closed the connection) |
18:47:44 | * | Arrrr quit (Read error: Connection reset by peer) |
18:48:06 | * | _stowa joined #nim |
18:49:04 | * | yglukhov joined #nim |
18:53:05 | * | brechtm joined #nim |
18:56:01 | * | _stowa quit (K-Lined) |
18:58:03 | * | brechtm quit (Ping timeout: 264 seconds) |
19:05:22 | * | endragor joined #nim |
19:09:34 | * | endragor quit (Ping timeout: 250 seconds) |
19:13:29 | * | hendi__ joined #nim |
19:27:30 | * | brson quit (Ping timeout: 276 seconds) |
19:33:18 | * | yglukhov quit (Remote host closed the connection) |
19:41:56 | * | endragor joined #nim |
19:46:38 | * | endragor quit (Ping timeout: 265 seconds) |
19:46:52 | * | rkeene left #nim (#nim) |
19:55:13 | * | kulelu88 joined #nim |
19:59:24 | * | nairobi quit (Ping timeout: 244 seconds) |
20:00:11 | * | irrequietus quit () |
20:00:27 | * | irrequietus_ joined #nim |
20:00:48 | * | nairobi joined #nim |
20:03:35 | * | endragor joined #nim |
20:04:09 | * | kssreeram quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
20:04:52 | * | gokr quit (Ping timeout: 240 seconds) |
20:08:18 | * | irrequietus_ quit () |
20:08:27 | * | endragor quit (Ping timeout: 276 seconds) |
20:08:42 | * | irrequietus joined #nim |
20:09:11 | * | zahary joined #nim |
20:12:29 | * | brson joined #nim |
20:17:33 | * | nairobi quit (Read error: Connection timed out) |
20:18:16 | * | nairobi joined #nim |
20:18:52 | * | gokr joined #nim |
20:21:49 | * | nairobi_ joined #nim |
20:22:31 | * | endragor joined #nim |
20:23:24 | * | nairobi quit (Ping timeout: 276 seconds) |
20:24:41 | * | Demon_Fox joined #nim |
20:24:42 | * | gokr quit (Ping timeout: 258 seconds) |
20:26:38 | * | endragor quit (Ping timeout: 244 seconds) |
20:29:34 | * | nimnim joined #nim |
20:29:58 | nimnim | Hey, two questions: |
20:30:07 | nimnim | 1) Why is Freenode Web IRC banned from this chatroom? |
20:31:20 | dom96 | D: |
20:31:48 | dom96 | Because we had a troll that kept coming in here saying stupid things over the web chat |
20:32:05 | dom96 | However, I thought it was agreed that we wouldn't ban webchat completely |
20:33:13 | dom96 | Xe: please don't ban the full web chat. |
20:33:45 | * | yglukhov joined #nim |
20:34:19 | dom96 | nimnim: should be fixed now |
20:34:23 | dom96 | what's your second question? |
20:34:58 | * | hendi__ quit (Ping timeout: 265 seconds) |
20:35:48 | nimnim | 2) Well, I keep getting an error "Error: could not resolve: stmts[begin .. pos - 1]" but I can't get a simple test case |
20:36:35 | nimnim | It didn't used to happen before 0.14.0 |
20:36:45 | nimnim | I'll keep working until I can get a test case |
20:38:20 | * | nairobi_ quit (Read error: Connection timed out) |
20:39:00 | * | yglukhov quit (Ping timeout: 276 seconds) |
20:39:24 | * | nairobi joined #nim |
20:42:18 | Araq | nimnim: devel should at least have a better error message for this now |
20:43:57 | nimnim | Araq & dom96: Slices with Naturals are broken |
20:44:01 | nimnim | Test Case: |
20:44:19 | nimnim | iterator bar(begin: int): string = |
20:44:20 | nimnim | var begin = begin |
20:44:20 | nimnim | let length = 5 |
20:44:20 | nimnim | yield "Hello World"[begin..length-1] |
20:44:20 | nimnim | iterator foo(begin: Natural): string = |
20:44:20 | nimnim | var begin = begin |
20:44:20 | nimnim | let length = 5 |
20:44:21 | nimnim | yield "Hello World"[begin..length-1] |
20:44:21 | nimnim | for s in bar(0): |
20:44:22 | nimnim | echo s |
20:44:22 | nimnim | for s in foo(0): |
20:44:23 | nimnim | echo s |
20:44:31 | dom96 | nimnim: Please use a pastebin |
20:44:35 | dom96 | Don't paste code in here |
20:44:57 | nimnim | Sorry, http://pastebin.com/dfwxiYBW |
20:48:14 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
20:49:21 | * | space-wizard joined #nim |
20:49:42 | Araq | *shrug* it never was correct. |
20:49:57 | * | space-wizard quit (Max SendQ exceeded) |
20:49:58 | nimnim | :( |
20:50:28 | ldlework | wow, https://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-come.html |
20:50:34 | * | space-wizard joined #nim |
20:50:44 | Araq | we can extend the typing rules |
20:51:11 | Araq | but currently if T is bound to natural then it cannot be 'int' |
20:51:55 | nimnim | It worked in previous versions |
20:52:13 | nimnim | I guess the type system evolved around it? |
20:52:47 | dom96 | ldlework: yep, sure is nice having a couple full-time employees being paid to work on this stuff. |
20:53:05 | ldlework | dom96: ah don't be so defensive :) |
20:53:48 | Araq | nimnim: usually it used to compile because of bugs ... |
20:56:02 | nimnim | Haha, I see |
20:56:02 | Araq | hmm we also can make Slices have 2 generic parameters |
20:56:33 | nimnim | Well I appreciate the work going into making it less buggy |
20:57:27 | nimnim | Araq: You could also change it to SomeInteger |
20:59:26 | * | michael_campbell quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
21:07:28 | * | cheatfate quit (Read error: Connection reset by peer) |
21:08:58 | * | zahary quit (Read error: Connection reset by peer) |
21:14:33 | * | minus quit (Ping timeout: 240 seconds) |
21:21:10 | * | Trustable joined #nim |
21:24:12 | * | minus joined #nim |
21:26:27 | * | brson quit (Ping timeout: 276 seconds) |
21:26:45 | * | Parashurama joined #nim |
21:28:27 | * | PMunch joined #nim |
21:29:40 | * | der-landgraf joined #nim |
21:31:43 | * | nimnim quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
21:34:45 | * | libman quit (Remote host closed the connection) |
21:35:11 | * | Mat4 joined #nim |
21:35:32 | * | der-landgraf quit (Ping timeout: 240 seconds) |
21:35:51 | * | Parashurama quit (Ping timeout: 264 seconds) |
21:36:56 | * | cheatfate joined #nim |
21:37:44 | * | hcorion quit (Remote host closed the connection) |
21:38:13 | * | der-landgraf joined #nim |
21:38:19 | * | hcorion joined #nim |
21:44:09 | * | chrisheller joined #nim |
21:44:25 | * | filwit joined #nim |
21:46:11 | * | bjz quit (Max SendQ exceeded) |
21:46:51 | * | hcorion quit (Remote host closed the connection) |
21:46:59 | * | bjz joined #nim |
21:51:16 | * | nairobi quit (Remote host closed the connection) |
21:52:28 | * | Mat4 left #nim (#nim) |
22:02:14 | * | yglukhov joined #nim |
22:06:21 | * | yglukhov quit (Ping timeout: 244 seconds) |
22:30:56 | * | brson joined #nim |
22:32:12 | * | Trixar_za joined #nim |
22:35:17 | * | elrood quit (Quit: Leaving) |
22:35:50 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
22:41:11 | * | nairobi joined #nim |
22:43:09 | * | rok quit (Quit: rok) |
22:46:13 | * | nairobi quit (Ping timeout: 258 seconds) |
22:49:01 | * | brson quit (Quit: leaving) |
22:49:23 | * | brson joined #nim |
22:49:23 | * | brson quit (Client Quit) |
22:49:37 | * | brson joined #nim |
22:53:08 | * | brechtm joined #nim |
22:58:02 | * | brechtm quit (Ping timeout: 265 seconds) |
22:59:40 | * | irrequietus quit () |
22:59:44 | * | brson quit (Quit: leaving) |
23:05:44 | * | brson_ joined #nim |
23:05:56 | * | endragor joined #nim |
23:09:02 | * | brson_ quit (Client Quit) |
23:09:05 | * | zahary joined #nim |
23:09:15 | * | brson joined #nim |
23:10:22 | * | endragor quit (Ping timeout: 258 seconds) |
23:10:24 | * | zahary quit (Read error: Connection reset by peer) |
23:21:03 | * | brson quit (Ping timeout: 258 seconds) |
23:22:27 | * | endragor joined #nim |
23:23:19 | * | brson joined #nim |
23:24:00 | * | Trustable quit (Remote host closed the connection) |
23:26:32 | * | endragor quit (Ping timeout: 240 seconds) |
23:35:35 | * | desophos joined #nim |
23:45:21 | * | brson quit (Quit: leaving) |
23:45:39 | * | brson joined #nim |
23:51:04 | * | desophos quit (Read error: Connection reset by peer) |
23:52:06 | * | desophos joined #nim |