Skip to content

WIP: Allow `::` in command identifiers/calls

Ghost User requested to merge (removed):commands-with-colons into master

This MR is in reference to #19673.

The specific rules for identifiers now are:

  1. Identifiers MUST NOT start with a :
  2. Identifiers MUST NOT end with a :
  3. Identifiers with a single : are still not callable.

Merging this would also allow CMake libraries to more easily interact with each other, as each one could be "namespaced" to some degree.

Rather than spending the time arguing over a proposal and whether it would be possible to implement it or anything of that sort, I figured I'd throw a full proof of concept and working implementation up as an MR.

This MR also features two unit tests I threw together. Please let me know if I should add more :)

Edited by Ghost User

Merge request reports