cwal

All files named ”s2/unit/099-000-typeinfo.s2”
Login

All files named ”s2/unit/099-000-typeinfo.s2”

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for s2/unit/099-000-typeinfo.s2

2020-02-21
04:21
s2 enums are now always hashes, instead of schizophrenic hashes/objects. This required a few minor changes, e.g. typeinfo(ishash/hashash) no longer eval to true for enumcs, and anEnum.# now works. Testing uncovered an unrelated assertion failure caused by a stale s2_engine::opErrPos pointer (fixed). file: f05b976e28 check-in: [c46a39fd75] user: stephan branch: trunk, size: 5585
2020-01-11
18:21
Extended typeinfo(tagname) to also support typeinfo(tag-name) to improve readability of the longer tags. Improved s2_eval-keyword-hasher.s2 to allow it to selectively generate its various outputs. file: 6ac5aeee4b check-in: [c5cbace093] user: stephan branch: trunk, size: 5187
2019-12-16
04:50
Added missing typeinfo(hasbuffer EXPR) query (buffers couldn't always be prototypes). file: e53e39e8ab check-in: [c74101c073] user: stephan branch: trunk, size: 4857
2019-12-12
13:26
More work on the s2 typeinfo() queries related to the new separation of distinct iteration capabilities. file: e5e034580c check-in: [90ab9d353a] user: stephan branch: multi-iteration, size: 4653
02:04
MOAR multi-iteration-related work. We broke the cycle-detection in the JSON bits with this undertaking, and now have to fall back to the configured max output depth to catch them. file: 98f711f3eb check-in: [4fc57dd5d5] user: stephan branch: multi-iteration, size: 4230
2018-10-27
11:56
Added missing typeinfo(islist EXPR) tests. file: e839d1d6b5 check-in: [192a1c366a] user: stephan branch: trunk, size: 4074
2017-12-04
13:33
Changed s2 enums such that an entry with no value gets its own stringified form as its value, as this seems more useful than the undefined value. file: 02904cf6e6 check-in: [673920da08] user: stephan branch: trunk, size: 3898
2016-02-26
14:19
added missing operator==() to Tuples. file: 32d1108fa4 check-in: [1cdea12f91] user: stephan branch: cwal_value_pair, size: 3709
13:12
omg facepalm. The automatic resizing of hashes was losing their kvp flags. Thus scope storage failed to retain const flags only after having enough vars to cause it to resize. file: 2f83805396 check-in: [2ac9af21ff] user: stephan branch: cwal_value_pair, size: 3627
01:25
okay, got carried away: discovered that hashes as scope storage fail to trigger const violations on s2 assignments, at least in one of the unit tests (but not in the interactive shell, for reasons unknown). Too tired to debug it further now. file: 4c8f2cd918 check-in: [42ddd6cf8c] user: stephan branch: cwal_value_pair, size: 3626
2016-02-16
11:26
unit test for previous commit. file: f829021f56 check-in: [d503d8e616] user: stephan branch: trunk, size: 3333
2016-01-21
11:49
tiny internal cleanups in s2 typeinfo bits, removed some dead code, changed typeinfo(isderefable ENUM_ENTRY) to return true because such entries now have a single property. file: f6d4008a89 check-in: [eb8ab1d806] user: stephan branch: trunk, size: 3135
2014-12-16
10:54
added unit tests for the previous commit. file: 6b51fb4bbe check-in: [e7afed0aa5] user: stephan branch: trunk, size: 3095
2014-12-13
23:14
Added: Minor hash code calc change in the core, removed the comma from typeinfo(TAG EXPR), added unit tests for typeinfo. file: 2b79f9195c check-in: [663f4dff66] user: stephan branch: trunk, size: 2840