runtime: add cap and len support for chans

This commit is contained in:
cornelk
2020-05-11 20:54:22 +03:00
committed by Ayke
parent 1461563e3f
commit 7e64bc8f77
4 changed files with 40 additions and 7 deletions
+1
View File
@@ -1,3 +1,4 @@
len, cap of channel: 1 2 false
len, cap of channel: 0 0 false
recv from open channel: 1 true
received num: 2