Project

General

Profile

Actions

Feature #6545

closed

inconvinient require order of DL

Added by usa (Usaku NAKAMURA) over 12 years ago. Updated about 12 years ago.

Status:
Closed
Target version:
[ruby-dev:45702]

Description

I found that test/dl/test_c_{struct,union}_entity.rb was broken when running
test-all with -j option.
The problem was wrong require, so I resolved them in r35901.

In the middle of this work, I noticed that dl/struct.rb didn't require
dl/value.rb although depending on it.
Moreover, I also noticed that dl/value.rb and dl/func.rb were depend on
each other and not require other one.

For this reason, to use dl/struct.rb, as r35901 showed, it is necessary
to require files with a puzzled order.
This is a very foolish demand.
I strongly recommend removing such a puzzle.

Updated by tenderlovemaking (Aaron Patterson) about 12 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

I've fixed this in r37391. The fix isn't optimal, but it is the smallest patch to fix the bug.

Actions

Also available in: Atom PDF

Like0
Like0