Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 0.9.1
-
Fix Version/s: 0.9.2
-
Component/s: Runtime (Boo.Lang)
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
Add (no removal) generic array builtins such as :
bytes = array[of byte](128) dataBytes = array[of byte](some_byte_enumerable) m = matrix[of float](4, 4)
Advantages:
- more readable syntax (imho at least) than: array(Type, count)
- no casts
- much faster implementation possible when building an array with a T* or a collection.
Issue Links
- supercedes
-
BOO-288
Jagged array declaration syntax should be fixed.
-
Landed in rev. 3307