Skip to content

Commit 17b11fb

Browse files
author
Reini Urban
committed
prepare v0.2 release
1 parent b110b2c commit 17b11fb

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

ChangeLog

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
v0.2 Mon Jan 13 20:39:05 2014 -0600
1+
v0.2 Thu Sep 11 10:28:32 CDT 2014 rurban
22

33
* print and say methods return "" instead of nil.
44
* Added methods for table: clone, slice, keys, values.
5-
For tuple: slice. For bytes and string: clone
5+
For tuple: slice. For bytes and string: clone.
66
* Added support for negative arguments for string.slice
77
* Changed API's for potion_type_error_want
88
* Updated libuv from 0.11.14 to 0.11.23
@@ -11,6 +11,8 @@ v0.2 Mon Jan 13 20:39:05 2014 -0600
1111
omit access to local filesystem, processes, loading shared libraries
1212
-L, and external compilers. bin/potion-s includes all modules statically.
1313
See INSTALL.md
14+
* Added rudimentary src debugger with -d
15+
* Fixed GC stability issues
1416

1517
v0.1 Wed Oct 16 13:08:38 2013 rurban
1618

core/compile.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -706,12 +706,12 @@ void potion_source_asmb(Potion *P, struct PNProto * volatile f, struct PNLoop *l
706706
if (PN_S(t,2) != PN_NIL && (PN_PART(PN_S(t,2)) == AST_MSG)) {
707707
vPN(Source) t2 = PN_S_(t,2); //typed message (MSG LIST|NIL MSG)
708708
DBG_c("typed %s %s\n", AS_STR(t->a[0]), AS_STR(t2));
709-
//TODO type must already exist. check native or user type
709+
//TODO type should already exist at compile-time. check native or user type
710710
num = PN_PUT(f->values, PN_S(t2,0));
711711
PN_ASM2(OP_LOADK, reg, num);
712712
PN_ASM2(OP_BIND, reg, breg);
713713
} else {
714-
PN_ASM2(PN_S(t,1) != PN_NIL || PN_S(t,2) != PN_NIL ? OP_MSG : OP_BIND, reg, breg);
714+
PN_ASM2(((PN_S(t,1) != PN_NIL || PN_S(t,2) != PN_NIL) ? OP_MSG : OP_BIND), reg, breg);
715715
}
716716
if (t->part == AST_QUERY && PN_S(t,1) != PN_NIL) {
717717
jmp = PN_OP_LEN(f->asmb);

0 commit comments

Comments
 (0)