summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2018-02-19 13:16:29 +0100
committerXavier Morel <xmo@odoo.com>2018-02-19 13:22:58 +0100
commitf1143b40739ae50989c416a002aa55122c02bdfe (patch)
treeb0a2dd4c648a37e74d4dd79903372eaf6d37d472 /addons/web/static/src/js/views/basic/basic_controller.js
parent5c1f025a424b95395d2de087520ce211534e7edc (diff)
[FIX] doc: tokenization of nested generics in JS docstrings
With more than 1 level of generic type, the "closure" of generic parameters would get tokenized by python as a single right shift (>>) rather than two gt (>, >) leading to our own tokenizing pass getting lost and blowing up. Fix by explicitly recognizing and splitting (>>) into (>, >). We could consider writing the entire tokenizer ourselves instead of post-processing Python's but given the entire post-processing function is currently shorter than just Pythons' tokenizer's regexes... Anyway issue found by vsc while trying to write better docstrings.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions