Skip to content
This repository was archived by the owner on Sep 9, 2019. It is now read-only.

Commit b57c010

Browse files
committed
Fix module.xp being treated as class with XP language
1 parent baea547 commit b57c010

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ XP Compiler ChangeLog
33

44
## ?.?.? / ????-??-??
55

6+
## 7.0.1 / 2016-05-01
7+
8+
* Fixed `module.xp` being treated as class with XP language - @thekid
9+
610
## 7.0.0 / 2016-02-22
711

812
* Added version compatibility with XP 7 - @thekid

src/main/php/xp/compiler/JitClassLoader.class.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ public function packageContents($package) {
134134
$return[]= $e.'/';
135135
} else if (strstr($e, \xp::CLASS_FILE_EXT)) {
136136
$return[]= $e;
137+
} else if ('module.xp' === $e) {
138+
$return[]= $e;
137139
} else {
138140
$return[]= preg_replace($syntaxes, \xp::CLASS_FILE_EXT, $e);
139141
}

0 commit comments

Comments
 (0)