bilibili / bilibili/bas

新语言不支持boolean是设计内的么?

Open
#5 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
201
Forks
17
PR merge metrics
No merged PRs in 30d

Description

看到 `bold` 和 `textShadow` 这种实际是布尔值的却都是用的number类型。不引入boolean是专门的设计么?如果给出非 {0,1} 的参数是怎么判断?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. First review the language specification and existing handling of bold and textShadow values, then clarify whether boolean types and non-{0,1} behavior are intended; done means a settled design decision and documented semantics.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.