Prevent Module from requiring itself #67

Closed
opened 2022-12-30 18:20:25 +01:00 by Aire-One · 0 comments
Owner

The current Module_Doc.populate_requires implementation force a given module to requiring itself.

Example with the wibox.widget module:

-- Auto generated file (Do not manually edit this file!)

local Widget = require "wibox.widget"

local record Widget
-- ...

This require statement creates a cycle. We need to prevent this.

The current `Module_Doc.populate_requires` implementation force a given module to requiring itself. Example with the `wibox.widget` module: ``` -- Auto generated file (Do not manually edit this file!) local Widget = require "wibox.widget" local record Widget -- ... ``` This `require` statement creates a cycle. We need to prevent this.
Aire-One added this to the v1.0 milestone 2022-12-30 18:20:25 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Aire-One/awesomewm.d.tl#67
No description provided.