import dotdot forbidden

✓ Passing This code compiles and runs correctly.

Code

// ============================================================================
// VERIFIED REGRESSION TEST - DO NOT MODIFY WITHOUT DISCUSSION
// ============================================================================
// Test 402: Import paths with ../ must be forbidden
// Security: Prevent directory traversal attacks
// Simplicity: Use explicit path aliases in koru.json instead

~import "../koru_std/io"

~io:println(text: "This should never compile!")
input.kz

Test Configuration

Expected Behavior:

FRONTEND_COMPILE_ERROR