-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
ghc-osdReserved for open source day: https://anitab-org.github.io/open-source-day/Reserved for open source day: https://anitab-org.github.io/open-source-day/issue: bugDescribes why the code or behaviour is wrongDescribes why the code or behaviour is wrong
Description
Check for duplicates
- I have searched for similar issues before opening a new one.
Description
In layout_ in flyout_horizontal.ts we access the block with const block = item.block. The result is nullable, so all later uses of block have to have a non-null assertion
To fix:
- Check whether
blockisundefinedafter settingconst block = item.block. continueifblockdoesn't exist.- Remove
!from after the remaining uses ofblockwithin the for loop.
To get set up for this issue:
- Run
npm installfrom the root of the repository. - Run
npm run buildfrom the root of the repository. - Run
npm run startto launch the test playground.
Metadata
Metadata
Assignees
Labels
ghc-osdReserved for open source day: https://anitab-org.github.io/open-source-day/Reserved for open source day: https://anitab-org.github.io/open-source-day/issue: bugDescribes why the code or behaviour is wrongDescribes why the code or behaviour is wrong